[fpc-pascal]How to shrink the executable size?

Frank McCormick cbmnews at montreal.cbc.ca
Sat Sep 30 19:58:01 CEST 2000

On Sun, 01 Oct 2000 13:09:48 +0200
Sebastian Schuberth <s.schuberth at gmx.net> wrote:

Sebastian> Jonas Maebe wrote:
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.

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 ??


Frank McCormick

--I speak only for me --

More information about the fpc-pascal mailing list