linux 2.1.117 built with egcs-1.1 19980823
Jeffrey A Law
law@cygnus.com
Mon Aug 24 02:13:00 GMT 1998
In message < k2hfz3iaeb.fsf@zero.aec.at >you write:
> In article <Pine.GSO.3.96.980823205649.9780B-100000@chateau.georgiatech-met
> z.fr>,
> damon LOVE <dlove@georgiatech-metz.fr> writes:
> > Using egcs-2.91.54 19980823 (gcc2 ss-980609 experimental)
> > I was able to build linux kernel 2.1.117 on a redhat 5.1
> > machine... (amd k6 233)
>
> I did the same, but noticed a 50k increase of the image compared to
> the same tree build with gcc 2.7.2.3. I'm not sure about the reasons
> yet.
>
>
> 2.7.2.3 options: -O2 -m486 -fno-strength-reduce -malign-loops=2
> -malign-functions=2 -malign-jumps=2 -fomit-frame-pointer
> egcs options: -O2 -mpentiumpro -fno-strength-reduce -fomit-frame-poin
Could be alignment related. egcs aligns code according to intel's
recommendations, which may (or may not) account for some increase.
If you could look into this it would be greatly appreciated.
Presumably you are comparing text sizes and not being confused by
other stuff like debug symbols, minimal symbol tables, etc.
jeff
More information about the Gcc
mailing list