This is the mail archive of the gcc-patches@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: [PATCH 1/2] Add -print-lto-plugin


On Fri, Oct 29, 2010 at 7:35 AM, Andi Kleen <andi@firstfloor.org> wrote:
>> [hjl@gnu-6 gcc]$ grep LTOPLUGINSONAME configure.ac
>> AC_DEFINE_UNQUOTED(LTOPLUGINSONAME,"${host_lto_plugin_soname}",
>> [hjl@gnu-6 gcc]$
>>
>> Why not add LTOPLUGINSONAME to Makefile? Then you can use
>> "gcc --print ...=$(LTOPLUGINSONAME)" to generate your scripts?
>
> To which Makefile? The scripts should be called from arbitary
> projects, not just the gcc makefile.

You can use $(LTOPLUGINSONAME) when you generate your LTO
wrappers:

http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02472.html

> I'm not sure why you're so against that option anyways,
> gcc has a couple of similar options to solve similar problems,
> why not have one more that is convenient?
>

I don't think it is necessary, especially with your LTO wrappers.


-- 
H.J.


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