-ffunction-sections, -fdata-sections and -Wl,--gc-sections
Adrian Chadd
adrian at freebsd.org
Tue Sep 17 23:31:07 UTC 2013
On 17 September 2013 16:22, Ian Lepore <ian at freebsd.org> wrote:
> On Tue, 2013-09-17 at 14:56 -0700, Adrian Chadd wrote:
> > ... 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.
> >
>
> Why is that better than using this automated solution?
>
Not everyone is going to run clang on their target development platform? :-)
Personally I'd rather structure my work to behave better instead of doing
something that relies on a specific tool/suite to be able to optimise.
-adrian
More information about the freebsd-current
mailing list