Force to not use system ld / compiling on AIX
Ian Lance Taylor
iant@google.com
Tue Mar 16 14:59:00 GMT 2010
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
More information about the Gcc-help
mailing list