Hello there. I've been using msys&mingw for years, and move to msys2&mingw-w64 last year. In msys&mingw, there's a tool named `pexports', which can obtain def file from dll, then with dlltool, there's a way to work with a single dll file without loading the functions by hand. Will this utility be ported to msys2? I think it will be great helpful.
You need install mingw-w64-i686-tools or mingw-w64-x86_64-tools and use "gendef" from this package.
Regards,
Alexey.
Last edit: Alexx83 2014-03-06
gendef
:-)
Seems great! I've heard about gendef before but never used it. :)
BTW, for some reason, sometime I'd prefer a GUI debugger, for example, insight. Does there exist some tools like that?
Try qt-creator:
pacman -S mingw64/mingw-w64-x86_64-qt-creator
You need to go to 'Tools->Options' and setup 'Kits' comprising 'Compilers' and 'Debuggers', then you can use 'Debug->Start Debugging->Start and Debug External Application..'
I don't like an IDE, just a gdb front-end is enough.
Right, ignore all the IDE aspects of qt-creator that don't overlap with debugging then. To the best of my knowledge there are no decent GDB frontends these days; probably because most people don't share your IDE aversion.
LiTuX, I can upload in my git repository PKGBUILD for Insight based on gdb-7.6. But it need to be fixed to build with tcl/tk 8.6.
If you interested in it and can fix it then write me.
Regards,
Alexey.
I'm add insight package and scripts for building it based on GDB-7.7. It building fine but need some old tcl/tk components to start like: Itcl-3.3, Itk-3.3, Iwidgets and some others. I don't have any time to see how fix it. Feel free to resolve it and send patches.
Regards,
Alexey.
Continuing the discussion about GDB front ends... there is a list of them here:
https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
I found that the GDB front-end built into emacs works, so you can install the MSYS2 emacs package and use that. It is called "GUD" and the documentation is here:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Debuggers.html#Debuggers
If you aren't an emacs user, gede might be a good option to check out, but I haven't really tried it myself yet:
http://gede.acidron.com/