[fpc-devel] Strange .EXE stripped issue
Hi to all, I have a little problem stripping my .EXE compiled file. The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes (A) with strip --strip-debug become: 64583 bytes (B) with strip --strip-unneeded become: 39424 bytes Difference from (A) - (B) = 25159 bytes What data are stored into this 25159 bytes? How I can remove them? -- Best regards... Fabio Dell'Aria. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Strange .EXE stripped issue
Hi, 2008/1/21, Jonas Maebe [EMAIL PROTECTED]: On 21 Jan 2008, at 13:18, Fabio Dell'Aria wrote: I have a little problem stripping my .EXE compiled file. The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes (A) with strip --strip-debug become: 64583 bytes (B) with strip --strip-unneeded become: 39424 bytes Difference from (A) - (B) = 25159 bytes What data are stored into this 25159 bytes? Symbols. How I can remove them? With --strip-unneeded No my questions is: How I can remove ONLY this symbols (not DEBUG sections)? :) -- Best regards... Fabio Dell'Aria. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Strange .EXE stripped issue
Hi, 2008/1/21, Jonas Maebe [EMAIL PROTECTED]: On 21 Jan 2008, at 13:18, Fabio Dell'Aria wrote: I have a little problem stripping my .EXE compiled file. The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes (A) with strip --strip-debug become: 64583 bytes (B) with strip --strip-unneeded become: 39424 bytes Difference from (A) - (B) = 25159 bytes What data are stored into this 25159 bytes? Symbols. How I can remove them? With --strip-unneeded No my questions is: How I can remove ONLY this symbols (not DEBUG sections)? :) strip is a GNU binutils tool. Please ask on the binutils mailing lists. Peter ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Strange .EXE stripped issue
Fabio Dell'Aria wrote: The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes (A) with strip --strip-debug become: 64583 bytes (B) with strip --strip-unneeded become: 39424 bytes Difference from (A) - (B) = 25159 bytes What data are stored into this 25159 bytes? Use objdump -h file to see what sections an executable contains. Micha ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel