Building dmd with ldc

Temtaime temtaime at gmail.com
Fri Nov 17 08:33:43 UTC 2017


Hi !
Thanks for a reply.

Currently i minimized it.

> ldc2 -march=x86 ddmd/astbase.d -c -ofout.obj
Wrote crash dump file ...

Just download dmd master, ldc 1.5.0 64bit for windows and go to 
src directory and execute such a command.
Removing -march=x86 makes it compile, but resulting dmd craches.
Seems that building dmd for windows with ldc is not tested and so 
not working.

Speaking about the project, it contains 30k lines, and in future 
it was able to build with ldc 1.3, but currently that version is 
outdated and leads to compile errors.
I can only provide memory dumps.
Also i think we should firstly figure out an dmd error


More information about the digitalmars-d-ldc mailing list