[fpc-pascal] optimised compiler options for "release" version

Graeme Geldenhuys graemeg at opensoft.homeip.net
Mon Jun 8 11:16:06 CEST 2009


Bee wrote:
> ExtPascal is more for server side application. You should know where
> it will be deployed and you can set more appropriate options. ;)
>   

Well, we have a couple of CGI applications written using Free Pascal
(using powtils). We deploy it on some 300+ servers. We have no clue what
hardware they run on.  Hence the reason I asked this question in the
first place.  We are also looking at deploying these applications as a
"distance learning" suite to the public and using a small "embedded web
server" instead of Apache.

Our desktop (GUI) applications are also deployed on a few thousand pc's,
and again we have no clue what hardware they are running.

Is there some reasonable optimisation parameters we can use for final
"release" builds of our software, or should I stick to what I am using
now. Lazarus compiler setting defaults and simply disable heatrc and
source code line numbers in backtraces.

Regards,
  - Graeme -






More information about the fpc-pascal mailing list