From: Thorsten O. <ad...@th...> - 2025-04-30 04:03:01
|
On Mittwoch, 30. April 2025 04:07:19 CEST WongCK via Freemint-discuss wrote: > So using stripex, the ELF binary is now down to 65K just like the a.out > version. Totally blow my brains.... Thats strange, if the binary was already stripped by the normal strip tool, stripex should only remove a few bytes. But it also removes a symbol table, should there be any, so that could explain the size difference. Maybe, when running strip, you specified some options that left part of that symbol table? You should normally be able to detect the size of the symbol table by running the file command on the executable. It should print something like a.out: Atari executable, text len 123808, data len 10752, BSS len 191362 symboltab len 8484, fastload, load to Alt-RAM, malloc from Alt-RAM Actually, the main purpose of stripex is to remove extended a.out (or ELF) headers that our gcc produces. This is sometimes needed when applications load the code as module without executing it, and expect the code to start right after the gemdos header. Anyway, i'm glad that it could help ;) |