Re: -ffunction-sections, -fdata-sections and -Wl,--gc-sections

From: John-Mark Gurney <jmg_at_funkthat.com>
Date: Tue, 17 Sep 2013 15:54:05 -0700
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."
Received on Tue Sep 17 2013 - 20:54:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC