[fpc-pascal]Can't seem to cycle a new compiler

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Mar 3 10:28:08 CET 2004


On Wed, 3 Mar 2004 xhajt03 at vol.cz wrote:

> From:        "Michael Van Canneyt" <michael.vancanneyt at wisa.be>
> To:          fpc-pascal at lists.freepascal.org
> Subject:     Re: [fpc-pascal]Can't seem to cycle a new
> Date sent:   Wed, 3 Mar 2004 09:10:36 +0100
>
> > > > .. I'll drop back to the 1.0.10.
> > >
> > > Installed 1.0.10 and it built everything just hunky
> > > dory.
> > >
> > > Now I have a question about the size of the exe.
> > >
> > > After it is built the size is 1.3 meg.
> > >
> > > I tried to run stripw on it but it doesn't reduce it
> > > at all. Did the
> > > file really jump to that size or am I just being
> > > stupid and not using
> > > stripw correctly.
> > >
> > >     stripw ppc386.exe
> >
> > The make procedure runs UPX on it, so I would be
> > surprised if stripw
> > could do some more packing after that :-)
>
> 1.3 MB is the size of the executable _without_ compressing with
> UPX. This IMHO means that either UPX wasn't found (this could be
> checked in make output probably), or the chosen make target
> doesn't do the compression at all (I don't know whether there are
> such targets for Win32, but it's possible).

Mmmyes. I did some cheking: the UPX is used only when doing a
'make install'
The executable is then about 800K on my machine.

Maybe the -Xs option is used to strip unused symbols?
It could be that this option is left in some config file ?

Michael.




More information about the fpc-pascal mailing list