www.delorie.com/gnu/docs/gcc/gnat_ug_218.html   search  
Buy the book!

Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.7 Making Your Executables Smaller

In order to get a smaller executable for your program you now have to recompile the program completely with the new `gnat.adc' file created by gnatelim in your current directory:

$ gnatmake ^-f Main_Prog^/FORCE_COMPILE MAIN_PROG^

(you will need ^-f^/FORCE_COMPILE^ option for gnatmake to recompile everything with the set of pragmas Eliminate you have obtained with gnatelim).

Be aware that the set of Eliminate pragmas is specific to each program. It is not recommended to merge sets of Eliminate pragmas created for different programs in one `gnat.adc' file.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003