This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how small can gcc get?


On Saturday, April 23, 2005, at 05:05 PM, Philip George wrote:
What's the smallest size I can squeeze gcc down to and how would I go about compiling it in such a way?

My take:


#define optimize 0

and then rebuild with dead code stripping. :-) You'd be the first to do this that I know of, so, won't necessarily be easy, but, might be a bit smaller than you'd get otherwise.

Otherwise, around 28MB.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]