Compiling druntime on ldc2 - Win 8 x64

Kai Nacke kai at redstar.de
Tue May 14 20:30:05 PDT 2013


On 25.01.2013 14:55, Sebastian Graf wrote:
> Done. Yet somehow I still can't get it to link druntime. Both in release
> and debug mode I get
> http://msdn.microsoft.com/en-us/library/t0cs92zx(v=vs.110).aspx ,
> because /O2 is combined with /RTC1, although the make file defs don't
> mix anything up. For the exact cl arguments see http://pastie.org/5856844.

This is a problem for which I don't have a good solution yet. You can 
work around it if you change line 312 of runtime/CMakeLists.txt from

         COMPILE_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_RELEASE}"

to

         COMPILE_FLAGS "${CMAKE_C_FLAGS}"

Kai


More information about the digitalmars-d-ldc mailing list