I wrote a shared library that is partially used by a Windows application written in Visual Studio 6 (pure C).
The library works flawlessly on Linux, but on Windows, something broke somewhere (it uses some #ifdef WIN32, which may contain something wrong).
But adding the library DLL as “additional DLLs” to the project in VS6 and running the application in debug mode, he says that the DLL files do not contain debug information.
The library is built on gcc without optimization (-O0) and with debugging symbols (-g).
i586-mingw32msvc-nm -a file.dll shows characters, and when the DLL is deleted, its size is reduced to half, and i586-mingw32msvc-nm -a file.dll will not display anything else.
But Visual Studio 6 still complains about the lack of debugging information. And using the Dependeny Walker tool, he says "Debug = No" in the library.
To solve problems when working under Windows, important debugging information. But how can you include them in a DLL (image compatible with VS6) or extract them into a dbg / pdb file?
source share