On 2017-04-22 02:50, Jon Foster wrote:
> I don't think you used smart linking.

Ah, good catch. Martin also tested on a 32bit system. 64bit systems will
always have larger executables. But even so, on my 64-bit FreeBSD system
using FPC 3.0.2, I get a 31544 bytes executable.

  $ fpc -O3 -Xs -XX test1.pas
  $ ls -l
-rwxr-xr-x  1 graemeg  wheel       31544 22 Apr 03:05 test1
-rw-r--r--  1 graemeg  wheel        8160 22 Apr 03:05 test1.o
-rw-r--r--  1 graemeg  wheel        3950 22 Apr 03:00 test1.pas




Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to