-ffunction-sections, -fdata-sections and -Wl,--gc-sections
John-Mark Gurney
jmg at funkthat.com
Tue Sep 17 22:54:11 UTC 2013
Adrian Chadd wrote this message on Tue, Sep 17, 2013 at 14:56 -0700:
> ... I'd rather see if we can actually separate out things some more so
> these builds can shrink.
>
> Eg, if there's malloc related functions that aren't used, maybe we should
> break malloc down into a directory full of functions.
>
> I'm not surprised libc++ is doing .. that. It's likely better on the
> compile time to have things bundled up in one big source file. Sigh.
Depends.. one big file can't be parallelized over multiple cores, but
the startup of parsing all those headers will be a big penalty though...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-current
mailing list