|
El 20/10/2004, a las 12:38, David Given escribió:
On Wednesday 20 October 2004 03:09, Mike Crowe wrote: [...]Does anybody see anything flagrant that I am missing?This may be a case of ovum/grandmother education, but did you remember tostrip the resulting binaries? There may be quite a lot of debugging information in there, even though you didn't specify -g.
You might want to use the "-s" flag as well when compiling, it tells GCC to avoid inclusion of _any_ kind of debugging information (Tip: check with "-Os -s"). After linking use "strip" as mentioned by other: it may erase unused sections of the executable image as well.
-ap
Attachment:
PGP.sig
Description: Mensaje firmado digitalmente