Closed pirocks closed 7 years ago
Recent DMD and LDC releases are tested:
https://travis-ci.org/dlang-community/libdparse
GDC isn't supported as it uses an old frontend. Btw the LDC compiler on your system.is horribly outdated. Ubuntu is unfortunately using Debian stable (though even on Debian, LDC is at 1.1.1) I recommend using the official download updater (http://dlang.org/download.html), e.g.
curl https://i.dlang.io | bash -s ldc
should be all you need ;-) Btw do you have any reason to avoid using the reference compiler DMD? It's licensed in Boost and blazingly fast for development.
I am closing this now as invalid, please feel free to ask questions at D.learn if you need more help to install recent compilers on your system.
Thanks for the fast response. just to answer you question:
Btw do you have any reason to avoid using the reference compiler DMD?
I was planning on using gdb and, I've had bad experiences with dmd and gdb.
I was planning on using gdb and, I've had bad experiences with dmd and gdb.
FWIW It works quite well on my system (GDB 8.0, dmd 2.074).
Even the standard library (built with DMD), has a .debug
targets for debugging individual modules: https://github.com/dlang/phobos/blob/master/posix.mak#L403
Output of compiling with ldc2:
Output of compiling with gdc:
Output of ldc2 -version:
Output of gdc -v: