← Back to team overview

kicad-developers team mailing list archive

Re: [MacOS] compiling with link-time optimization

 

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'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.

> - 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


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References