On 20 Apr 2004 at 9:30, André Eduardo Gabriel da Silva wrote:
[...]
Consider the size of the following source and executable files, after compilation:
----- gpc -o hello hello.pas ----- hello.pas 60 bytes hello.exe 707.791 bytes
Why is the executable file so big? What is this overhead generated for every program created with the above GPC? The program LD has the option of stripping off all the symbols. Doing that I've got the following:
----- gpc -Wl,-s -o hello hello.pas ----- hello.pas 60 bytes hello.exe 247.808 bytes
But I still think this is a big executable. There is a way to reduce this overhead?
This has been discussed many times before. See: http://www.gnu-pascal.de/crystal/gpc/en/mail9748.html
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/