Thread overview
Build DMD + druntime + phobos on Windows using MVCC
Jul 11, 2012
crashtua
Jul 11, 2012
crashtua
Jul 11, 2012
Benjamin Thaut
Jul 11, 2012
crashtua
Jul 11, 2012
crashtua
July 11, 2012
I trying to build DMD + druntime + phobos. I builded DMD using Visual Studio solution file. But when i try to build druntime it says "corruptet druntime.obj". How to build it on windows? Maybe it is possible to build it using mingw?
July 11, 2012
So, i have builded druntime with dmc, but why it isn't builds with cl?

July 11, 2012
Am 11.07.2012 11:11, schrieb crashtua:
> So, i have builded druntime with dmc, but why it isn't builds with cl?
>

Certain parts of druntime are written in C and must be build with dmc.
Also I don't know if building with Visual Studio is supported yet as the Visual Studio compiler can not do 84 bit float operations.

Kind Regards
Benjamin Thaut

July 11, 2012
When i try to build latest druntime i get such errors:
src\core\simd.d(53): Error: template instance core.simd.Vector!(double[4u]) erro
r instantiating
src\core\simd.d(35): Error: base type of __vector must be a 16 byte static array
, not float[8u]
src\core\simd.d(54): Error: template instance core.simd.Vector!(float[8u]) error
 instantiating
src\core\simd.d(35): Error: base type of __vector must be a 16 byte static array
, not byte[32u]
src\core\simd.d(55): Error: template instance core.simd.Vector!(byte[32u]) error
 instantiating
src\core\simd.d(35): Error: base type of __vector must be a 16 byte static array
, not ubyte[32u]
July 11, 2012
All problems was in path to dmd and dmc. Absolute path to them solved all problems. Thanks for reply.