This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -print-lto-plugin
On Sat, Oct 2, 2010 at 8:41 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sat, Oct 2, 2010 at 2:24 PM, Andi Kleen <andi@firstfloor.org> wrote:
>> From: Andi Kleen <ak@linux.intel.com>
>>
>> binutils have LTO linker plugin support now, but it requires hardcoding
>> the path to gcc's libexec dir in the Makefile. Add an option to the
>> gcc driver instead to print the full file name to avoid this.
>>
>
>
> It sounds wrong to me. Linker shouldn't hardcode the path to
> gcc's libexec, which should be passed down to linker from gcc.
>
If you are referring to "ar --plugin", gcc-ar or something like it
works better.
--
H.J.