From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: "Mark Bradley" Cc: gcc-help@gcc.gnu.org Subject: Re: GCC snapshot 2000-11-27 build fails on Solaris 8 SPARC Date: Tue, 05 Dec 2000 08:57:00 -0000 Message-id: References: X-SW-Source: 2000-12/msg00016.html On Dec 3, 2000, "Mark Bradley" wrote: > That made little sense to a relative novice like myself so I assumed (insert > standard warning about making nearly baseless assumptions) that was I needed > was a shared version of libgcc.a. Is this even possible? With current development snapshots, --enable-shared will do that. but note that the warning comes from libtool. I seem to recall this having been fixed in recent CVS versions of libtool, but I may well be just making this up. > /usr/ccs/bin/ld: illegal option -- - > /usr/ccs/bin/ld: illegal option -- w This is a symptom of configuring --with-gnu-ld (implicitly or explicitly) and having GCC use the built-in system linker instead. > Why is it using /usr/ccs/bin/ld? I thought that since it's building binutils, > it would use ld from that code set. binutils is one of the sub-directories of the binutils distribution. Other sub-directories are ld, gas, opcodes, etc. All of them must be *individually* moved into the GCC tree, otherwise the magic that auto-detects them won't work. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me