stephenrkell / libdwarfpp

A high-level API for accessing DWARF debugging information, in C++
http://www.cl.cam.ac.uk/~srk31/
Other
23 stars 12 forks source link

Windows support #19

Open jgcodes2020 opened 3 years ago

jgcodes2020 commented 3 years ago

Since this library compiles using Autotools, it won't exactly support Windows.

stephenrkell commented 3 years ago

Is that a criticism or an offer? I'll take the latter. :-)

But actually I'm not sure what you mean. Cygwin, mingw and WSL all seem like plausible ways to get this code working on Windows, autotools included. I haven't tried. If you have, feel free to report back here.

I'm not sure how much use of DWARF there is natively on Windows, so I assume your interest is in cross-tooling that runs on Windows.

jgcodes2020 commented 3 years ago

MinGW will actually output DWARF data in its executables using PE sections analogous to those used on Linux. Honestly, a good plan would be to switch from Autotools to a different build system like CMake or Meson.