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]

size of a.out vs. native compiler on aix


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.

Is there some option I need to use to keep this size
smaller? I'm using no arguments to gcc other than
file name:
	gcc mycode.c

and the same with the aix compile: cc mycode.c
or is this just a feature of gcc?

When compiled using gcc on previous versions of AIX 
(e.g. 3.x, 4.1) the result was small executables.  
Why so big now?  Can anyone offer an explanation 
if not a workaround or fix?  Thanks.

					- Carl Albing
					  St. Paul, MN


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