Re: Build configuration for most compact output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Gonzaga <jgonzaga@xxxxxxxxxxx> writes:

> I'm trying to reduce code size and I'm wondering besides the
> optimizations flags, what combination of other flags, either in
> building the toolchain or command line, that will result in the most
> compact output. No dead code, no debug info, etc, just the code that
> is required to do the operation of my application. Thanks.

-ffunction-sections --gc-sections *may* help. (It doesn't always help,
     so do some experiments.)



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux