Debugging D shared libraries

Martin Krejcirik via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 20 03:44:58 PDT 2015


Dne 19. 9. 2015 v 18:41 Russel Winder via Digitalmars-d-learn napsal(a):
> Indeed, it works well. Well for LDC. DMD and GDC are still broken. My
> GDC problems are deeper that this code: Debian packages seem to have
> weird problems and Fedora do not package GDC.

All I need to do to make your example work, is to move the calls of
Runtime.initialize and Runtime.terminate to a wrapper functions called
at the start and end of the main program.


-- 
mk


More information about the Digitalmars-d-learn mailing list