Lazarus file sizes

Lazarus creates a 25.1MB executable for the file I/O skeleton I’ve been talking about.

To reduce this size (in Linux)…

Run these command line utilities in this order
Running strip reduces it to 6.0MB
Running upx further reduces it to 1.7MB

Don’t run in this order
Running upx first reduces it to 6.7MB
Running strip next fails with program has no sections

There are also additional documented ways by changing compile/link options