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: Force to not use system ld / compiling on AIX


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


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