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]
Other format: [Raw text]

Re: Serious Bugs In Gcc Builds


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



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