This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc (as.exe) install error


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]