Re: Executable size

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

 



On Fri, Jan 20, 2023, 22:47 Mike Rejsa via Gcc-help <gcc-help@xxxxxxxxxxx>
wrote:

> Hi, new to gcc, running 32b on an old Win-XP notebook.
>
> When I compile small utilities (say, treesort or equivalent, just console
> output) I get executables that are from 10-16 times larger as with my
> previous compiler (a 16b Aztec). Something that compiles to 7-8k with the
> Aztec is 100k+ with gcc. Why is this?
>
> TIA
> miker
>

Strip them afterwards. There's also -Os as an option.

>



[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