There is no problem running with a stripped binary. Just make sure that
you know what binary you have sent out to the customers - and what code
you built it from. Then you should be able to build a corresponding binary
again with debug info, in case you need to process a core dump from a
customer.
However, it is often better to leave the debug during make, and first when
you are about to distribute the binary to a customer perform stripping of
the binary. Then you might keep both a stripped and a non-stripped copy.
This is important if the source contains __DATE__ or similar that makes it
impossible to build the source multiple times and ginerate an identical
executable.
/Per W
On Sun, 15 Jun 2003, [ISO-8859-15] Alexander Ebersp=E4cher wrote:
> Hi,
>
> i've got a short question:
>
> Including the linker option -s reduces the size of my dll from 130 KB to
> only 76 KB.
>
> The GCC help says -s "removes all symbol table and relocation information
> from the executable."
>
> I'm not sure what this actually means. Is it _always_ safe to do so?
> Will there be any disadvantages?
>
> I know that i won't be able to generate debugging information while i
> use -s, but i'm more thinking of the final release that won't have
> debugging information it.
>
> Thanks, Alex
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|