kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18366
Re: [MacOS] compiling with link-time optimization
Le 24/05/2015 00:04, Simon Richter a écrit :
> Hi,
>
> On 23.05.2015 20:18, jp charras wrote:
>
>> Sorry to say that, but what is the interest of this work:
>
> Now that is a good question. My initial goal was to basically shave
> a few percents off in text size and get a bit of extra speed, just
> by setting a few compiler flags.
I understand.
>
> I'm happy to put this on the back burner, because it isn't worth
> investing a lot of effort into it, but it'd be one item off my
> list.
Make sense: it is more tricky as expected!
>
>> - You said in a previous mail the link time is longer with LTO
>> than without LT0, and this is a serious issue for developers (the
>> compil time is often short when editing a few sources, so a
>> longer link time is an issue)
>
> It's only enabled for Release builds -- it relies on the optimizer
> actually doing something anyway, so Debug builds should be
> unaffected.
>
> Simon
--
Jean-Pierre CHARRAS
References