Large code size?

Sam Lantinga slouken@devolution.com
Wed Mar 24 13:52:00 GMT 1999


> > The egcs version (compiled with egcs 1.1.1, -O2 -funroll-loops):
> > -rwxrwxr-x   1 hercules devel     1534443 Mar 25  1999 robotcom.so
> > 
> > The VC++ version (compiled with VC++ 5.0, /G5 /Ox /Ot /Og /Oi /Op /Ob2)
> > -r-xr-xr-x   1 hercules devel      654336 Mar 14 10:26 robotcom.dll
> > 
> > Any ideas why this might be? 

> Did you try to apply 'strip.exe' to the resulting binary?

Yup, it's on Linux, so we used 'strip', but it only cut about a hundred K
off of it.  (It wasn't compiled with -g)

	-Sam Lantinga				(slouken@devolution.com)

Lead Programmer, Loki Entertainment Software
--
Author of Simple DirectMedia Layer -
	http://www.devolution.com/~slouken/SDL/
--


More information about the Gcc mailing list