Shawn Highfield wrote to All <=-
One line of code in pascal becomes a 35 line procedure. Why is this better then console?
You need to turn on optimization, "release" mode, and stripping debugging symbols. FP. by default, compiled is debug mode and adds a lot of extra
crap.
Plus the lazarus one doesn't work right yet. Just amazing to me the
pure bloat in modern GUI programming languages.
You can trim the fat but it's all in the compiler settings. I use FPC
direct from the command line.
Here what I use in a bash script to compile a regular program (last line is wrapped):
#!/bin/sh
export HOME=/opt/mbse/code
fpc -B -Fo$HOME/out/object -FU$HOME/out/ppu -FE$HOME/out -Fu/usr/lib64/fpc/3.2.2/units/x86_64-linux -Fu$HOME/source/ -So -O2 -Tlinux
-Xs -XX -v0 -k"-z noexecstack" $HOME/source/$1.pas
I don't use Lazarus yet though I have been thinking about writing a GUI
version of NODECONV.
-- Sean
... Programming Department: mistakes made while you wait.
--- MultiMail/Linux
* Origin: Outpost BBS * Johnson City, TN (618:618/1)