This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: GCC snapshot 2000-11-27 build fails on Solaris 8 SPARC


> > 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.

Good info... I'll get a newer snapshot of that too.

>
>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.

How do I force it to use the GNU ld? I thought the --with-gnu-ld would
do that so I don't know how it's picking up the system linker. Well, the
only way I can see is that the GCC 2.95.2 I installed (from sunfreeware)
was compiled to use the system linker . Would it be helpful to inspect
the -dumpspecs output from gcc?

Which linker do i want? I thought the GNU linker was needed if I wanted
to build shared libraries since there was a bug in Sun's linker. Is
this an issue anymore as to which one I use?

> > 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.

hmm. I was under the impression that I could just move the binutils
source directory into the GCC source directory and it would do the job.
More good info. I'll try these things.

Thanks,

Mark Bradley
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


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