Page 2 of 2

Posted: 25.05.2009, 08:45
by nicolagorlandi
You have to go in the compiler option and check -Xs and -Xg (In Linking TAB). That's make the exe size less than one mega...

Posted: 25.05.2009, 08:47
by nicolagorlandi
You have to check both -Xs and -Xg in the linking Tab inside compiler option...

Posted: 25.05.2009, 08:48
by nicolagorlandi
That's make the EXE size very small (less than one Mega...)

Posted: 25.05.2009, 09:18
by lukezeoslib
Thank you, nicolagorlandi , I will try it later.

Posted: 25.05.2009, 09:51
by nicolagorlandi
If you want to reduce more you can use

upx303w\upx --best <exe file>

after the build...

Posted: 25.05.2009, 20:09
by seawolf
Hi, install and configure Lazarus it took me some but, now I can compile Zeos with Lazarus.

So compiler give me errors in ZplainLoader, as you stated, but not in Zabstractrwodataset.

Anyway compiler cannot finish compile ZComponent package because it needs PropEdits.pas . Does your lazarus compiler gives you the same problem?

One more request .. can you post your ZCore.lpk, because after every compile lazarus wants override it?

Thank you

Posted: 26.05.2009, 12:28
by nicolagorlandi
Probably we don't installed the same version of ZeosLib. I've installed the 6.6.4.

How can I post the file ?

Posted: 26.05.2009, 17:47
by seawolf
I found my problem related to ZCore (my stupid error), but I continue compiling ZComponent package, because it doesn't found PropEdits.pas.

That unit is contained in a different folder (called intf) so probably I miss to declare that folder. So Do you know can I declare folder containing units in Lazarus?

Thank you

Posted: 27.05.2009, 08:11
by nicolagorlandi
I think you can add the file to the package. Anoher way is adding the path at the package, to do it, open the package and then click on options. In the first TAB, in the first control you can add path, normaly you found $(PkgOutDir)\.

What version of Zeoslib are you gonna tryng ?

Posted: 09.06.2009, 10:18
by nicolagorlandi
Hi,
Have you made some step forward ? need help ?