Re: --enable-languages=xxx,lto. why lto?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 15, 2012 at 3:36 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 15 April 2012 14:08, niXman wrote:
>> Hello list!
>>
>> When configuring gcc, I noticed that sometimes in '--enable-languages'
>> in addition to languages, 'lto' is also specified.
>> For what?
>
> Link-Time Optimisation is enabled automatically unless you say --disable-lto
>
>> Is it really necessary to specify 'lto' in the list of languages?
>
> I don't understand the question.  It's not necessary for you to
> specify it, because it's added automatically.  It's necessary for the
> configure script to add it if you want LTO support.  If you don't want
> LTO support, configure with --disable-lto.

I think the question was more why --enable-languages=lto instead of
--enable-lto.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux