Mail Archives: cygwin/1999/01/08/21:00:19
On Fri, 8 Jan 1999 setera AT us DOT ibm DOT com wrote:
> Here is a somewhat silly question. If I build a set of DLL's and
> associated ".a" files with debugging information turned on, where does that
> information end up? Is it in the DLL itself or the .a? If it is in the
> DLL, can I run strip on a DLL to trim the size of the DLL? Or does it all
> end up in the executable that is linked to the DLL which can then be
> stripped?
The import libraries for DLLs normally contain no executable code other
than a bunch of jump instructions to load the code from the DLL; all the
actual code, including debugging info, reside in the DLL. This also
implies that stripping the final executable has no impact on the debugging
info in the DLL. You need to strip both the executable and all the
DLLs to get rid of all possible debugging info. Do note that stripping
doesn't buy you anything other than disk space (the debugging info is
never loaded into memory.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -