Subj : Re: Console vs GUI To : Shawn Highfield From : digimaus Date : Fri Nov 08 2024 18:23:38 -=> Shawn Highfield wrote to All <=- SH> One line of code in pascal becomes a 35 line procedure. Why is this SH> 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. SH> Plus the lazarus one doesn't work right yet. Just amazing to me the SH> 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) .