public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: gcc (as.exe) install error
@ 2002-11-06 16:24 Harig, Mark A.
  0 siblings, 0 replies; 11+ messages in thread
From: Harig, Mark A. @ 2002-11-06 16:24 UTC (permalink / raw)
  To: Danny Sauer, cygwin


As requested at http://cygwin.com/bugs.html:

o Please describe how to reproduce the problem,
  including a test case, if possible.

o Please include at least the version number of the
  Cygwin release you are using along with the 
  operating system name and its version number,
  for example, "cygwin v1.3.13 under NT 4.0".

o Most of the information about your Cygwin environment
  is listed by running 'cygcheck -s -v -r > cygcheck.txt'.
  Please include cygcheck.txt *AS AN ATTACHMENT* to your
  report.  It is important that you include it as an
  attachment so that searches of the mailing-list archives
  give fewer false matches.

If you provide the output of cygcheck, then Randall Schulz's
guess about an incomplete installation could be checked.

> -----Original Message-----
> From: Danny Sauer [mailto:cygwin_list@dannysauer.com]
> Sent: Wednesday, November 06, 2002 6:14 PM
> To: cygwin@cygwin.com
> Subject: gcc (as.exe) install error
> 
> 
> I recently installed cygwin 1.3.14-1 (according to cygcheck).  gcc is
> unable to compile c source code (gcc claims to be version 3.2).
> 
> Example code from "test.c":
> 
> ---
> #include <stdio.h>
> int main(){
> 	printf("hello\n");
> }
> ---
> 
> Not complicated code by any stretch of the imagination.  It 
> compiles fine
> with gcc on the linux box next door, not suprisingly.
> 
> I've tried doing a complete install of the entire cygwin env., and
> uninstalling followed by reinstalling the development group (and the
> binutils package individually).  I still get this error when 
> I try to compile:
> 
> ---
> $ gcc -o test.exe test.c
> gcc: installation problem, cannot exec 
> '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwi
n/bin/as.exe': Invalid argument
> ---
> 
> If I copy and paste the path to as.exe, it runs just fine.  The file
> exists.  I've tried it without the "-o test.exe" part - same 
> result.  I
> tried moving the file from a network mounted drive to a local 
> path - same
> result.  My searches turned up nothing, but then, I may have 
> been looking
> in the wrong place.  If someone could either point me to that place or
> just solve the problem, I'd be somewhat appreciative. :)
> 
> Thanks a bunch.
> --Danny
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-18 14:59 ` Danny Sauer
@ 2002-11-18 18:32   ` Christopher Faylor
  0 siblings, 0 replies; 11+ messages in thread
From: Christopher Faylor @ 2002-11-18 18:32 UTC (permalink / raw)
  To: cygwin

On Mon, Nov 18, 2002 at 03:46:54PM -0600, Danny Sauer wrote:
>Ok, so I found what appears to be my problem.  I had installed cygwin
>to a network drive (samba running on a linux machine).  Apperently, the
>installer expects to be able to create symlink-like files on the Win2K
>system that it was running on, and those don't work over the samba server.
>
>I ran the reinstaller to a local drive, and it now works just fine.
>
>This is somewhat irritating, as it means that I've gotta install this
>environment locally on every machine that I'd like to use it on, was well
>as updating each instalation individually.  Is there a way around this?
>Is this issue a known bug, or should I further investigate my setup?

setup uses old-style symlinks which don't work reliably on a samba-mounted
partition, although with newer versions of samba that may change.  You
can just remove and recreate the symlinks and they should work ok.

There isn't any automated way to do this but it should be relatively trivial
to write a script, something like:

  foreach f *; do
      t=`readlink $f 2>/dev/null`
      [ -z "$t" ] && continue
      rm -f $f
      ln -s $t $f
  done

Do this in the /bin and /usr/i686-pc-cygwin/bin directories.

I HAVE NOT tried the above so you should be very careful before
trying it.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-10 15:59 Danny Sauer
  2002-11-18 14:52 ` Danny Sauer
@ 2002-11-18 14:59 ` Danny Sauer
  2002-11-18 18:32   ` Christopher Faylor
  1 sibling, 1 reply; 11+ messages in thread
From: Danny Sauer @ 2002-11-18 14:59 UTC (permalink / raw)
  To: Cygwin List

Ok, so I found what appears to be my problem.  I had installed cygwin
to a network drive (samba running on a linux machine).  Apperently, the
installer expects to be able to create symlink-like files on the Win2K
system that it was running on, and those don't work over the samba server.

I ran the reinstaller to a local drive, and it now works just fine.

This is somewhat irritating, as it means that I've gotta install this
environment locally on every machine that I'd like to use it on, was well
as updating each instalation individually.  Is there a way around this?
Is this issue a known bug, or should I further investigate my setup?

Thanks a lot for the help.
--Danny

Danny wrote regarding 'Re: gcc (as.exe) install error' on Sun, Nov 10 at 17:59:
> I'm not in front of the machine, but for the time being I'll add this:
> 
> When I copy that path and paste it in on the command line, it runs
> just fine (well, as fine as something that expects something on STDIN
> can run).  I can add "--help" and it displays the help.
> 
> I've done a complete uninstall, followed by a reboot and a complete
> install (by selecting "uninstall" and then "install" at the root of
> the software tree) on that machine, and the same thing happens.
> 
> I'll check the version that got reinstalled Mon morning.  Thanks for
> the help so far.  The community rocks.
> 
> Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 
> 00:32:
> > Well, you do have binutils installed, but it's not the latest (see
> > <http://www.cygwin.com/packages/binutils/>). When you installed GCC 3.2,
> > did you also update binutils? Why don't you update all your installed 
> > packages?
> >
> > On my system, that rather long, funky pathname (in the gcc "cannot exec"
> > diagnostic) names a symlink which itself points to /usr/bin/as.exe.
> >
> > What is it on your system?
> >
> > At 08:25 2002-11-07, Danny Sauer wrote:
> > >Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
> > >...
> > > > $ gcc -o test.exe test.c
> > > > gcc: installation problem, cannot exec
> > > > '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe':
> > > > Invalid argument
> > >...
> > >
> > >Attached is the output of cygcheck -s -v -r, if that helps.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-10 15:59 Danny Sauer
@ 2002-11-18 14:52 ` Danny Sauer
  2002-11-18 14:59 ` Danny Sauer
  1 sibling, 0 replies; 11+ messages in thread
From: Danny Sauer @ 2002-11-18 14:52 UTC (permalink / raw)
  To: cygwin

Doh.  I didn't notice that the list doesn't set the "reply-to" header.
:)

--Danny

Danny wrote regarding 'Re: gcc (as.exe) install error' on Sun, Nov 10 at 17:59:
> Danny,
> 
> The dialog regarding your problems with GCC and / or "as" (or whatever the 
> real problem ultimately turns out to be) should take place in public.
> 
> Randall Schulz
> Mountain View, CA USA
> 
> 
> -==- Forwarded Message -==-
> 
> I'm not in front of the machine, but for the time being I'll add this:
> 
> When I copy that path and paste it in on the command line, it runs
> just fine (well, as fine as something that expects something on STDIN
> can run).  I can add "--help" and it displays the help.
> 
> I've done a complete uninstall, followed by a reboot and a complete
> install (by selecting "uninstall" and then "install" at the root of
> the software tree) on that machine, and the same thing happens.
> 
> I'll check the version that got reinstalled Mon morning.  Thanks for
> the help so far.  The community rocks.
> 
> --Danny
> 
> Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 
> 00:32:
>  > Danny,
>  >
>  > Well, you do have binutils installed, but it's not the latest (see
>  > <http://www.cygwin.com/packages/binutils/>). When you installed GCC 3.2,
>  > did you also update binutils? Why don't you update all your installed 
> packages?
>  >
>  > On my system, that rather long, funky pathname (in the gcc "cannot exec"
>  > diagnostic) names a symlink which itself points to /usr/bin/as.exe.
>  >
>  > What is it on your system?
>  >
>  > Randall Schulz
>  > Mountain View, CA USA
>  >
>  >
>  > At 08:25 2002-11-07, Danny Sauer wrote:
>  > >Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
>  > >...
>  > > > $ gcc -o test.exe test.c
>  > > > gcc: installation problem, cannot exec
>  > > 
> '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe':
>  > > Invalid argument
>  > >...
>  > >
>  > >Attached is the output of cygcheck -s -v -r, if that helps.
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
@ 2002-11-10 15:59 Danny Sauer
  2002-11-18 14:52 ` Danny Sauer
  2002-11-18 14:59 ` Danny Sauer
  0 siblings, 2 replies; 11+ messages in thread
From: Danny Sauer @ 2002-11-10 15:59 UTC (permalink / raw)
  To: cygwin

Danny,

The dialog regarding your problems with GCC and / or "as" (or whatever the 
real problem ultimately turns out to be) should take place in public.

Randall Schulz
Mountain View, CA USA


-==- Forwarded Message -==-

I'm not in front of the machine, but for the time being I'll add this:

When I copy that path and paste it in on the command line, it runs
just fine (well, as fine as something that expects something on STDIN
can run).  I can add "--help" and it displays the help.

I've done a complete uninstall, followed by a reboot and a complete
install (by selecting "uninstall" and then "install" at the root of
the software tree) on that machine, and the same thing happens.

I'll check the version that got reinstalled Mon morning.  Thanks for
the help so far.  The community rocks.

--Danny

Randall wrote regarding 'Re: gcc (as.exe) install error' on Fri, Nov 08 at 
00:32:
 > Danny,
 >
 > Well, you do have binutils installed, but it's not the latest (see
 > <http://www.cygwin.com/packages/binutils/>). When you installed GCC 3.2,
 > did you also update binutils? Why don't you update all your installed 
packages?
 >
 > On my system, that rather long, funky pathname (in the gcc "cannot exec"
 > diagnostic) names a symlink which itself points to /usr/bin/as.exe.
 >
 > What is it on your system?
 >
 > Randall Schulz
 > Mountain View, CA USA
 >
 >
 > At 08:25 2002-11-07, Danny Sauer wrote:
 > >Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
 > >...
 > > > $ gcc -o test.exe test.c
 > > > gcc: installation problem, cannot exec
 > > 
'/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe':
 > > Invalid argument
 > >...
 > >
 > >Attached is the output of cygcheck -s -v -r, if that helps.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-07  8:25 ` Danny Sauer
@ 2002-11-07  8:36   ` Randall R Schulz
  0 siblings, 0 replies; 11+ messages in thread
From: Randall R Schulz @ 2002-11-07  8:36 UTC (permalink / raw)
  To: cygwin

Danny,

Well, you do have binutils installed, but it's not the latest (see 
<http://www.cygwin.com/packages/binutils/>). When you installed GCC 3.2, 
did you also update binutils? Why don't you update all your installed packages?

On my system, that rather long, funky pathname (in the gcc "cannot exec" 
diagnostic) names a symlink which itself points to /usr/bin/as.exe.

What is it on your system?

Randall Schulz
Mountain View, CA USA


At 08:25 2002-11-07, Danny Sauer wrote:
>Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
>...
> > $ gcc -o test.exe test.c
> > gcc: installation problem, cannot exec 
> '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': 
> Invalid argument
>...
>
>Attached is the output of cygcheck -s -v -r, if that helps.
>
>Thanks.
>--Danny


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-06 15:14 Danny Sauer
  2002-11-06 15:48 ` Michael A Chase
@ 2002-11-07  8:25 ` Danny Sauer
  2002-11-07  8:36   ` Randall R Schulz
  1 sibling, 1 reply; 11+ messages in thread
From: Danny Sauer @ 2002-11-07  8:25 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

Danny wrote regarding 'gcc (as.exe) install error' on Wed, Nov 06 at 17:13:
...
> $ gcc -o test.exe test.c
> gcc: installation problem, cannot exec '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': Invalid argument
...

Attached is the output of cygcheck -s -v -r, if that helps.

Thanks.
--Danny

[-- Attachment #2: cygcheck.txt --]
[-- Type: text/plain, Size: 24230 bytes --]


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Nov 07 10:20:18 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	S:\netinstall\usr\local\bin
	S:\netinstall\bin
	S:\netinstall\bin
	S:\netinstall\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	S:\netinstall\usr\local\bin
	\\Www\software\windows\Vim\vim\vim57
	e:\j2sdk1.4.0\bin
	S:\netinstall\usr\X11R6\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `\\www\dsauer\profile'
MAKE_MODE = `unix'
PWD = `//www/dsauer/profile'
USER = `dsauer'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users.WINNT'
APPDATA = `C:\Documents and Settings\dsauer\Application Data'
CLASSPATH = `"H:\java\xmlrpc-1.1.jar";.'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DANNY-PC'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVSROOT = `:pserver:dsauer@dev:/cvs/danny'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `z:'
HOMEPATH = `\'
HOMESHARE = `\\www\dsauer\profile'
HOSTNAME = `danny-pc'
LOGONSERVER = `\\WWW'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0402'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
QTJAVA = `"C:\Program Files\Java\j2re1.4.0\lib\ext\QTJava.zip"'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\dsauer\LOCALS~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/1.6.5,}'
TMP = `c:\DOCUME~1\dsauer\LOCALS~1\Temp'
USERDOMAIN = `LODGE'
USERNAME = `dsauer'
USERPROFILE = `C:\Documents and Settings\dsauer'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `S:/netinstall'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `S:/netinstall/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `S:/netinstall/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `E:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  NTFS    3074Mb  53% CP CS UN PA FC     system
d:  hd  FAT32   1025Mb 100% CP    UN           PAGEFILE
e:  hd  NTFS   25203Mb  30% CP CS UN PA FC     work
f:  cd  CDFS       0Mb 100%    CS              MENINBLACK
g:  cd           N/A    N/A                    
h:  net NTFS   30000Mb  77% CP CS    PA        dsauer
s:  net NTFS   30000Mb  77% CP CS    PA        software
w:  net NTFS   30000Mb  77% CP CS    PA        web_servers
z:  net NTFS   30000Mb  77% CP CS    PA        dsauer

.                                  /cygdrive                 user    binmode,cygdrive
S:/netinstall                      /                         system  binmode
S:/netinstall/bin                  /usr/bin                  system  binmode
S:/netinstall/lib                  /usr/lib                  system  binmode
E:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.                                  /cygdrive                 user    binmode,cygdrive

Found: S:\netinstall\bin\bash.exe
Found: S:\netinstall\bin\cat.exe
Found: S:\netinstall\bin\cpp.exe
Found: S:\netinstall\bin\find.exe
Found: S:\netinstall\bin\gcc.exe
Found: S:\netinstall\bin\gdb.exe
Found: S:\netinstall\bin\ld.exe
Found: S:\netinstall\bin\ls.exe
Found: S:\netinstall\bin\make.exe
Found: S:\netinstall\bin\sh.exe

   39k 2001/11/21 S:\netinstall\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 16:15
   58k 2002/05/07 S:\netinstall\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 1:33
   22k 2002/11/06 S:\netinstall\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 3:28
   28k 2002/09/20 S:\netinstall\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/19 22:13
   19k 2002/02/20 S:\netinstall\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 21:05
   25k 2002/07/14 S:\netinstall\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygungif-4.dll" v0.0 ts=2002/7/14 9:58
  159k 2002/08/09 S:\netinstall\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/8/9 15:20
   46k 2002/01/20 S:\netinstall\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 12:50
  152k 2002/03/17 S:\netinstall\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxslt-1.dll" v0.0 ts=2002/3/17 0:19
  490k 2002/09/21 S:\netinstall\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-12.dll" v0.0 ts=2002/9/21 5:01
  488k 2002/07/18 S:\netinstall\bin\cygguile-14.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-14.dll" v0.0 ts=2002/7/18 5:35
  390k 2001/10/20 S:\netinstall\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2001/10/19 19:24
   66k 2001/11/20 S:\netinstall\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 8:44
   63k 2002/09/21 S:\netinstall\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2002/9/21 5:01
   22k 2002/06/09 S:\netinstall\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 0:45
    5k 2001/10/20 S:\netinstall\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
  108k 2001/06/28 S:\netinstall\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 22:34
  127k 2002/10/10 S:\netinstall\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 12:28
  623k 2001/10/20 S:\netinstall\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2001/10/19 19:25
   26k 2001/04/25 S:\netinstall\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 0:27
   20k 2002/01/09 S:\netinstall\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 0:03
    6k 2002/06/24 S:\netinstall\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2002/6/24 13:23
   81k 2001/10/20 S:\netinstall\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2001/10/19 19:25
  306k 2002/04/27 S:\netinstall\bin\cyghttpd.dll - os=4.0 img=1.0 sys=4.0
                  "cyghttpd.dll" v0.0 ts=2002/4/27 8:23
  475k 2002/10/11 S:\netinstall\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2002/10/11 16:53
  136k 2002/10/17 S:\netinstall\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2002/10/17 10:21
  253k 2002/02/10 S:\netinstall\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/2/10 2:34
  929k 2002/06/24 S:\netinstall\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 13:24
  625k 2002/11/06 S:\netinstall\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/8/9 15:20
   14k 2002/09/21 S:\netinstall\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-v-12-12.dll" v0.0 ts=2002/9/21 5:01
   24k 2002/07/18 S:\netinstall\bin\cygguile-srfi-srfi-4-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-1.dll" v0.0 ts=2002/7/18 5:35
  326k 2002/06/26 S:\netinstall\bin\cygdb2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb2.dll" v0.0 ts=2002/6/26 12:48
   40k 2001/11/21 S:\netinstall\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 16:15
   41k 2002/01/20 S:\netinstall\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 12:49
  175k 2002/07/22 S:\netinstall\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2002/7/22 10:51
  179k 2002/07/22 S:\netinstall\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/7/22 11:03
   24k 2002/09/21 S:\netinstall\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2002/9/21 5:01
  156k 2001/04/25 S:\netinstall\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 0:29
  175k 2002/01/09 S:\netinstall\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 0:03
   15k 2001/04/25 S:\netinstall\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 0:27
   12k 2002/01/09 S:\netinstall\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 0:03
   25k 2002/07/16 S:\netinstall\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2002/7/15 23:05
  487k 2002/07/24 S:\netinstall\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 11:25
   10k 2001/10/20 S:\netinstall\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2001/10/19 19:24
   17k 2001/06/28 S:\netinstall\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 22:34
   20k 2002/10/10 S:\netinstall\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 12:28
   50k 2002/03/17 S:\netinstall\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexslt-0.dll" v0.0 ts=2002/3/17 0:24
   14k 2002/07/18 S:\netinstall\bin\cygguilereadline-14.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-14.dll" v0.0 ts=2002/7/18 5:35
  380k 2002/07/24 S:\netinstall\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-3.1.dll" v0.0 ts=2002/7/24 11:24
   35k 2001/10/20 S:\netinstall\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2001/10/19 19:25
   45k 2001/04/25 S:\netinstall\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 0:28
   35k 2002/01/09 S:\netinstall\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 0:03
   54k 2002/11/06 S:\netinstall\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2002/1/26 19:07
  226k 2001/04/25 S:\netinstall\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 0:17
  202k 2002/01/09 S:\netinstall\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 0:03
   59k 2002/09/20 S:\netinstall\bin\cygkpathsea-3-3-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygkpathsea-3-3-7.dll" v0.0 ts=2002/9/20 9:54
   50k 2002/11/06 S:\netinstall\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 22:38
  119k 2002/02/09 S:\netinstall\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/8 23:19
   63k 2002/07/18 S:\netinstall\bin\cygguile-srfi-srfi-13-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-1.dll" v0.0 ts=2002/7/18 5:35
   45k 2002/02/08 S:\netinstall\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2002/2/7 17:59
   21k 2001/06/20 S:\netinstall\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 12:09
  633k 2002/07/22 S:\netinstall\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2002/7/22 1:29
  170k 2002/01/21 S:\netinstall\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/20 19:05
   15k 2002/03/17 S:\netinstall\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxsltbreakpoint-1.dll" v0.0 ts=2002/3/17 0:24
  905k 2002/10/24 S:\netinstall\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/10/24 9:48
    Cygwin DLL version info:
        DLL version: 1.3.14
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 62
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Thu Oct 24 10:48:11 EDT 2002
        Shared id: cygwin1S3

   41k 2002/05/14 S:\netinstall\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygPropList-0.dll" v0.0 ts=2002/5/13 22:13

Cygwin Package Information
Last downloaded files to: S:\downloads
Last downloaded files from: http://archive.progeny.com/cygwin

Package             Version             
ELFIO               1.0.0-1             
WindowMaker         0.80.0-2            
XFree86-base        4.2.0-1             
XFree86-bin         4.2.0-2             
XFree86-doc         4.2.0-1             
XFree86-etc         4.2.0-1             
XFree86-f100        4.2.0-2             
XFree86-fcyr        4.2.0-2             
XFree86-fenc        4.2.0-2             
XFree86-fnts        4.2.0-2             
XFree86-fscl        4.2.0-2             
XFree86-fsrv        4.2.0-1             
XFree86-html        4.2.0-1             
XFree86-jdoc        4.2.0-1             
XFree86-lib         4.2.0-3             
XFree86-man         4.2.0-1             
XFree86-nest        4.2.0-1             
XFree86-prog        4.2.0-1             
XFree86-prt         4.2.0-1             
XFree86-ps          4.2.0-1             
XFree86-startup-scripts4.2.0-3             
XFree86-vfb         4.2.0-1             
XFree86-xserv       4.2.0-15            
Xaw3d               1.5-1               
_update-info-dir    00078-1             
apache              1.3.24-5            
ash                 20020731-1          
astyle              1.15.3-3            
autoconf            2.53b-1             
autoconf-devel      2.53a-1             
autoconf-stable     2.13-4              
automake            1.6.2-1             
automake-devel      1.6.2-1             
automake-stable     1.4p5-5             
base-files          1.0-1               
base-passwd         1.0-1               
bash                2.05b-5             
bc                  1.06-1              
binutils            20020706-2          
bison               1.75-1              
byacc               1.9-1               
bzip2               1.0.2-2             
ccache              1.9-1               
cgoban              1.9.12-1            
clear               1.0-1               
cmake               1.4.6-1             
cpio                2.4.2               
cron                3.0.1-7             
crypt               1.0-1               
ctags               5.2-1               
curl                7.10.1-1            
curl-devel          7.10.1-1            
cvs                 1.11.0-1            
cygrunsrv           0.95-1              
cygutils            1.1.2-1             
cygwin              1.3.14-1            
cygwin-doc          1.2-1               
db2                 2.7.7-4             
db3.1               3.1.17-2            
dejagnu             20010117-1          
diff                1.0-1               
diffutils           2.8.1-1             
dpkg                1.10.4-2            
ed                  0.2-1               
emacs               21.2-8              
emacs-X11           21.2-8              
emacs-el            21.2-8              
enscript            1.6.3-3             
exim                4.10-2              
expat               1.95.5-1            
expect              20010117-1          
fetchmail           6.1.0-1             
figlet              2.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1.7-4             
flex                2.5.4-2             
fortune             1.8-2               
fvwm                2.4.7-2             
gawk                3.1.1-5             
gcc                 3.2-1               
gcc-mingw           3.2-20020817-1      
gcc2                2.95.3-10           
gdb                 20010428-3          
gdbm                1.8.0-4             
gettext             0.11.5-1            
gettext-devel       0.11.5-1            
ghostscript         7.05-2              
ghostscript-base    7.05-2              
ghostscript-x11     7.05-2              
gnugo               3.2-1               
gnupg               1.0.7-3             
gperf               0.0                 
grep                2.5-1               
groff               1.17.2-1            
gsl                 1.1.1-1             
guile               1.6.0-1             
guile-devel         1.6.0-1             
guile-doc           1.6.0-1             
gzip                1.3.3-4             
indent              2.2.8-1             
inetutils           1.3.2-19            
irc                 20010101-1          
jbigkit             1.2-6               
jpeg                6b-7                
keychain            1.9-1               
less                374-1               
lesstif             0.93.18-3           
libPropList         0.10.1-3            
libbz2_0            1.0.2-1             
libbz2_1            1.0.2-2             
libcharset1         1.8-2               
libdb2              2.7.7-4             
libdb2-devel        2.7.7-4             
libdb3.1            3.1.17-2            
libdb3.1-devel      3.1.17-2            
libguile12          1.6.0-1             
libguile14          1.5.6-5             
libiconv            1.8-2               
libiconv2           1.8-2               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libintl2            0.11.5-1            
libkpathsea3        20020911-1          
libltdl3            20020705-2          
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.2.4-2             
libpng10            1.0.14-2            
libpng10-devel      1.0.14-2            
libpng12            1.2.4-2             
libpng12-devel      1.2.4-2             
libpng2             1.0.12-1            
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.3-2               
libtool             20020705-1          
libtool-devel       20020705-2          
libtool-stable      1.4.2-2             
libungif            4.1.0-2             
libxml2             2.4.23-1            
libxslt             1.0.13-1            
lilypond            1.6.5-1             
lilypond-doc        1.6.5-1             
links               0.96-1              
login               1.4-4               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-7            
man                 1.5g-2              
mc                  4.5.55-1            
mingw-runtime       2.2-1               
mktemp              1.4-1               
mod_auth_mysql      1.11-1              
mod_auth_ntsec      1.7-1               
mod_dav             1.0.3-1.3.6-1       
mod_php4            4.2.0-1             
mod_ssl             2.8.8-1.3.24-1      
more                2.11o-1             
mt                  2.0.1-1             
mutt                1.4-1               
nano                1.1.10-1            
ncftp               3.1.4-1             
ncurses             5.2-8               
newlib-man          20020801            
openbox             0.99.1-3            
opengl              1.1.0-6             
openssh             3.5p1-1             
openssl             0.9.6g-1            
openssl-devel       0.9.6g-1            
patch               2.5-3               
pcre                3.7-1               
perl                5.6.1-2             
pine                4.44-3              
pinfo               0.6.6p1-1           
pkgconfig           0.12.0-1            
popt                1.6.4-4             
postgresql          7.2.3-1             
procmail            3.22-7              
procps              010801-2            
python              2.2.1-1             
rcs                 5.7-3               
readline            4.3-2               
regex               4.4-2               
robots              2.0-1               
rsync               2.5.5-1             
rxvt                2.7.2-14            
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-2             
shutdown            1.2-2               
squid               2.4.STABLE7-1       
ssmtp               2.38.7-3            
swig                1.3.16-1            
tar                 1.13.25-1           
tcltk               20001125-1          
tcp_wrappers        7.6-1               
tcsh                6.11.00-4           
termcap             20020930-1          
terminfo            5.2-3               
tetex               20020911-1          
tetex-base          20020911-1          
tetex-beta          20020911-1          
tetex-bin           20020911-1          
tetex-devel         20020911-1          
tetex-doc           20020911-1          
tetex-extra         20020911-1          
tetex-tiny          20020911-1          
tetex-x11           20020911-1          
texinfo             4.2-4               
texmf               20020911-1          
texmf-base          20020911-1          
texmf-doc           20020911-1          
texmf-extra         20020911-1          
texmf-tiny          20020911-1          
textutils           2.0.21-1            
tidy                020822-1            
tiff                3.5.7-1             
time                1.7-1               
ttcp                19980512-1          
ucl                 1.01-1              
units               1.77-1              
unzip               5.50-1              
upx                 1.21-1              
vim                 6.1-2               
w32api              2.0-1               
wget                1.8.2-1             
which               1.5-1               
whois               4.5.17-1            
x2x                 1.27-2              
xpm-nox             4.2.0-1             
zip                 2.3-2               
zlib                1.1.4-1             
zsh                 4.0.4-1             

Use -h to see help about each section


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-06 16:11   ` Randall R Schulz
@ 2002-11-06 20:06     ` Michael A Chase
  0 siblings, 0 replies; 11+ messages in thread
From: Michael A Chase @ 2002-11-06 20:06 UTC (permalink / raw)
  To: cygwin, Randall R Schulz

On Wed, 06 Nov 2002 16:11:49 -0800 Randall R Schulz <rrschulz@cris.com> wrote:

> How is the (merely) potential conflict between the output of Danny's 
> compilation ("test.exe") going to lead "gcc" to produce an "Invalid 
> argument" error? Especially when the assembler runs (or would run) before 
> "test.exe" gets written? Also note that "test" is a shell built-in both in 
> BASH and Ash.

True.  I focused on the wrong phrases in the problem description.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-06 15:48 ` Michael A Chase
@ 2002-11-06 16:11   ` Randall R Schulz
  2002-11-06 20:06     ` Michael A Chase
  0 siblings, 1 reply; 11+ messages in thread
From: Randall R Schulz @ 2002-11-06 16:11 UTC (permalink / raw)
  To: cygwin

Michael,

How is the (merely) potential conflict between the output of Danny's 
compilation ("test.exe") going to lead "gcc" to produce an "Invalid 
argument" error? Especially when the assembler runs (or would run) before 
"test.exe" gets written? Also note that "test" is a shell built-in both in 
BASH and Ash.

I think this is actually the classic incomplete installation problem. 
Specifically the "binutils" package was probably not installed on Danny's 
system.

Randall Schulz
Mountain View, CA USA


At 15:48 2002-11-06, you wrote:
>On Wed, 6 Nov 2002 17:14:25 -0600 Danny Sauer <cygwin_list@dannysauer.com> 
>wrote:
>
> > I recently installed cygwin 1.3.14-1 (according to cygcheck).  gcc is
> > unable to compile c source code (gcc claims to be version 3.2).
> >
> > Example code from "test.c":
> >
> > ---
> > #include <stdio.h>
> > int main(){
> >         printf("hello\n");
> > }
> > ---
> >
> > Not complicated code by any stretch of the imagination.  It compiles fine
> > with gcc on the linux box next door, not suprisingly.
> >
> > I've tried doing a complete install of the entire cygwin env., and
> > uninstalling followed by reinstalling the development group (and the
> > binutils package individually).  I still get this error when I try to
> > compile:
> >
> > ---
> > $ gcc -o test.exe test.c
> > gcc: installation problem, cannot exec
> > 
> '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': 
> Invalid argument
> > ---
> >
> > If I copy and paste the path to as.exe, it runs just fine.  The file
> > exists.  I've tried it without the "-o test.exe" part - same result.  I
> > tried moving the file from a network mounted drive to a local path - same
> > result.  My searches turned up nothing, but then, I may have been looking
> > in the wrong place.  If someone could either point me to that place or
> > just solve the problem, I'd be somewhat appreciative. :)
>
>man test
>
>--
>Mac


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc (as.exe) install error
  2002-11-06 15:14 Danny Sauer
@ 2002-11-06 15:48 ` Michael A Chase
  2002-11-06 16:11   ` Randall R Schulz
  2002-11-07  8:25 ` Danny Sauer
  1 sibling, 1 reply; 11+ messages in thread
From: Michael A Chase @ 2002-11-06 15:48 UTC (permalink / raw)
  To: cygwin, Danny Sauer

On Wed, 6 Nov 2002 17:14:25 -0600 Danny Sauer <cygwin_list@dannysauer.com> wrote:

> I recently installed cygwin 1.3.14-1 (according to cygcheck).  gcc is
> unable to compile c source code (gcc claims to be version 3.2).
> 
> Example code from "test.c":
> 
> ---
> #include <stdio.h>
> int main(){
>         printf("hello\n");
> }
> ---
> 
> Not complicated code by any stretch of the imagination.  It compiles fine
> with gcc on the linux box next door, not suprisingly.
> 
> I've tried doing a complete install of the entire cygwin env., and
> uninstalling followed by reinstalling the development group (and the
> binutils package individually).  I still get this error when I try to
> compile:
> 
> ---
> $ gcc -o test.exe test.c
> gcc: installation problem, cannot exec
> '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.ex
> e': Invalid argument
> ---
> 
> If I copy and paste the path to as.exe, it runs just fine.  The file
> exists.  I've tried it without the "-o test.exe" part - same result.  I
> tried moving the file from a network mounted drive to a local path - same
> result.  My searches turned up nothing, but then, I may have been looking
> in the wrong place.  If someone could either point me to that place or
> just solve the problem, I'd be somewhat appreciative. :)

man test

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* gcc (as.exe) install error
@ 2002-11-06 15:14 Danny Sauer
  2002-11-06 15:48 ` Michael A Chase
  2002-11-07  8:25 ` Danny Sauer
  0 siblings, 2 replies; 11+ messages in thread
From: Danny Sauer @ 2002-11-06 15:14 UTC (permalink / raw)
  To: cygwin

I recently installed cygwin 1.3.14-1 (according to cygcheck).  gcc is
unable to compile c source code (gcc claims to be version 3.2).

Example code from "test.c":

---
#include <stdio.h>
int main(){
	printf("hello\n");
}
---

Not complicated code by any stretch of the imagination.  It compiles fine
with gcc on the linux box next door, not suprisingly.

I've tried doing a complete install of the entire cygwin env., and
uninstalling followed by reinstalling the development group (and the
binutils package individually).  I still get this error when I try to compile:

---
$ gcc -o test.exe test.c
gcc: installation problem, cannot exec '/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe': Invalid argument
---

If I copy and paste the path to as.exe, it runs just fine.  The file
exists.  I've tried it without the "-o test.exe" part - same result.  I
tried moving the file from a network mounted drive to a local path - same
result.  My searches turned up nothing, but then, I may have been looking
in the wrong place.  If someone could either point me to that place or
just solve the problem, I'd be somewhat appreciative. :)

Thanks a bunch.
--Danny

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-11-18 23:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 16:24 gcc (as.exe) install error Harig, Mark A.
  -- strict thread matches above, loose matches on Subject: below --
2002-11-10 15:59 Danny Sauer
2002-11-18 14:52 ` Danny Sauer
2002-11-18 14:59 ` Danny Sauer
2002-11-18 18:32   ` Christopher Faylor
2002-11-06 15:14 Danny Sauer
2002-11-06 15:48 ` Michael A Chase
2002-11-06 16:11   ` Randall R Schulz
2002-11-06 20:06     ` Michael A Chase
2002-11-07  8:25 ` Danny Sauer
2002-11-07  8:36   ` Randall R Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).