[PATCH 2/2] Add gcc-ar, gcc-ranlib, gcc-ld wrappers

H.J. Lu hjl.tools@gmail.com
Fri Oct 29 17:08:00 GMT 2010


On Fri, Oct 29, 2010 at 8:57 AM, Andi Kleen <andi@firstfloor.org> wrote:
>> If I have gcc 4.5 installed under /usr/bin as system compiler and gcc 4.6
>> installed under /usr/gcc-4.6/bin, which plug-in DSO will /usr/gcc-4.6/bin/gcc-ld
>> use?
>
> The current version calls the gcc at install path and asks it.

That won't work with

# mv /usr/gcc-4.6 ~/tmp/
# ~/tmp/gcc-4.6/bin/gcc-ld ...

> Joseph asked for a relocatable version that asks the gcc
> in the same directory as the script.
>

That sounds better.


-- 
H.J.



More information about the Gcc-patches mailing list