[patch] LTO support for Mach-O (apple-darwin)

Steven Bosscher stevenb.gcc@gmail.com
Mon May 3 22:27:00 GMT 2010


On Tue, May 4, 2010 at 12:09 AM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
> Steven,
>   Does linux default to --enable-lto in gcc trunk?

I believe so, yes. See configure.ac:ACX_ELF_TARGET_IFELSE, from Dave's
lto-coff patch that I've built upon:

"# On non-ELF platforms, LTO must be explicitly enabled."

However, that could be changed of course. For the moment, I would
prefer to keep this, though, until we have some proper testing of
non-ELF LTO on real applications (things like your big c++ app) before
it is enabled by default.

Ciao!
Steven



More information about the Gcc-patches mailing list