[fpc-pascal]How to shrink the executable size?
Lee, John
LeeJ at logica.com
Mon Oct 2 15:27:34 CEST 2000
BTW you can use look_map.exe (zip file & readme is in
ftp.freepascal.org\fpc\contrib) to analyse the ld(w) o/p file to (try to)
see whats going on in terms of what is linked & how big it all is, [or of
course you can look in the ld(w) map yourself, if you are really determined
& can understand all of the c*** in it]...HTH John
-----Original Message-----
From: Frank McCormick [mailto:cbmnews at montreal.cbc.ca]
Sent: Saturday, September 30, 2000 06:58
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: Re: [fpc-pascal]How to shrink the executable size?
On Sun, 01 Oct 2000 13:09:48 +0200
Sebastian Schuberth <s.schuberth at gmx.net> wrote:
Sebastian> Jonas Maebe wrote:
Sebastian>
Sebastian> > > myself. So how do I tell the compiler to link against the *.a
files
Sebastian> > > instead of *.o files? The -CX switch is only for linking
units themself
Sebastian> > > smartly (to create *.a instead of *.o files), AFAIK.
Sebastian> > -CX is indeed for creating smartlinkable units. -XX is to turn
on
Sebastian> > smartlinking.
Sebastian>
Now I am confused! When I compile a win32 program using the compiler
and RTL from baseW32.zip snapshot, I have to add -XX on the command line
or the program demands opengl32.dll. Is the RTL in BaseW32.zip compiled
with smartlinking turned on ??
Regards
Frank McCormick
--I speak only for me --
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list