Serious Bugs In Gcc Builds

Tony Wetmore tony.wetmore@solipsys.com
Tue Dec 4 20:02:00 GMT 2007


Thomas Dineen wrote:
 > ln -s /opt/sfw/bin/gld ld
 > ln -s /opt/sfw/bin/gas as
 > /export/home/tools/gcc/gcc-3.4.6/configure  --with-gnu-ld
 >   --with-gnu-as --with-as=/opt/sfw/bin/as --with-ld=/opt/sfw/bin/ld

Thomas,

I don't think the "ln -s" commands work as you expect.  Those commands 
will create symlinks "ld" and "as" in your current working directory 
(i.e. /export/home/tools/gcc/gcc-3.4.6-obj), not in /opt/sfw/bin.

So when you specify "/opt/sfw/bin/as", you are *not* using the symlink 
that you just created.  Instead, I think you should specify, for example:

   --with-ld=/export/home/tools/gcc/gcc-3.4.6-obj/ld

Or why not just skip the symlinks and specify:

   --with-gnu-ld --with-ld=/opt/sfw/bin/gld

Does that not work?

--
Tony Wetmore




More information about the Gcc-help mailing list