Bala's Blog

Fat static binaries with Ada

September 15 2018
60 words, ~1 min. read
fat-binary,  ada 

Ada is one of the languages best known for code safety and maintainability.

Recently, I wanted to create a fat static binary of an application written in Ada; it turned out to be very simple; it required just to enable the binder and linker flags to be static as shown below,

$ gnatmake <app>.adb -o <app> -bargs -static -largs -static