- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to remove debugging information from an obj, lib, dll or exe if the item was originally created with debugging information enabled? Maybe something like the unix strip command?
thank you
sol
thank you
sol
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most of the debugging information is in a separate PDB file, so I don't think this is too useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compile was done with /nopdbfile.
Also: can the /dbglibs compile option be overridden in a subsequent link step?
With a PDB file, does the object still have some debug information in it.
thank you
sol
Also: can the /dbglibs compile option be overridden in a subsequent link step?
With a PDB file, does the object still have some debug information in it.
thank you
sol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think with PDB. all the info is in the PDB. I suppose you can re-link with /nodebug. I don't know of a strip tool.
You can use the linker's /NODEFAULTLIB option to tell it to ignore all the default libraries, or specific ones, then supply the ones you want.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page