This is the mail archive of the gcc-help@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: size of a.out vs. native compiler on aix


At 10.26 02/12/2002 -0600, Carl Albing wrote:
I'm compiling a program using GCC on an AIX 4.3 system.
(gcc's dumpversion reports: 2.9-aix43-010414)
The resulting a.out is about 300+ Kbytes.
But compiling the same code on the IBM supplied compiler
results in an a.out of only 90 Kbytes.
To reduce the executable size, try "strip"ping it aftter compiling it, ie.
strip myexecutable

HTH, fwyzard

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