This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Force to not use system ld / compiling on AIX
- From: Ian Lance Taylor <iant at google dot com>
- To: dolphinling <lists at dolphinling dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 16 Mar 2010 07:55:41 -0700
- Subject: Re: Force to not use system ld / compiling on AIX
- References: <4B99531A.1070706@uvm.edu> <4B9A9EA3.1020503@dolphinling.net>
dolphinling <lists@dolphinling.net> writes:
> I've just noticed: On another computer, running gentoo linux with gcc
> 4.3.4, the -B /some/dir option works, and uses ld from that directory
> (tested by running gcc -B /some/dir -Wl,--version files.cpp), but on
> this AIX machine, with gcc 3.3.2, the -B option does not work.
>
> The documentation says that the -B option has been present since (at
> least) version 2.95.
>
> Does anyone know why it would be not working?
It is extremely strange that the -B option would not work. I have no
explanation for that. What happens when you link with -Wl,-debug?
That should show you the exact name which the collect2 linker wrapper
invokes. What name is that?
Ian