I've been assigned to a large legacy project, which can only be deployed in debug version, due to various historical (and stupid) reasons. As one might expect, there are some performance issues.
The project is written in C, Visual Studio 6 (yes, that old). I'm looking for ways to minimize the impact of "everything is in debug version". Are there any compiler or linker options which would minimise the amount of debug code injected into the final binary? Or is there an external utility which could strip some of it later on?
(I know this is basically a silly question, and that we're supposed to switch to release, but trust me, this is completely out of my control..and it kills a part of my soul virtually every day.)