www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Build DMD + druntime + phobos on Windows using MVCC

reply "crashtua" <crashtua gmail.com> writes:
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?
Jul 11 2012
next sibling parent reply "crashtua" <crashtua gmail.com> writes:
So, i have builded druntime with dmc, but why it isn't builds 
with cl?
Jul 11 2012
parent Benjamin Thaut <code benjamin-thaut.de> writes:
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
Jul 11 2012
prev sibling next sibling parent "crashtua" <crashtua gmail.com> writes:
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]
Jul 11 2012
prev sibling parent "crashtua" <crashtua gmail.com> writes:
All problems was in path to dmd and dmc. Absolute path to them 
solved all problems. Thanks for reply.
Jul 11 2012