www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Producing a 64-bit binary on windows

reply Benjamin Thaut <code benjamin-thaut.de> writes:
Is the mingw version that is officially release by the LDC capable of 
producing 64-bit binaries or is the MSVC version neccessary for that?

I tried ldmd2 -m64 source.d
but that produced a 32-bit executable.

Kind Regards
Benjamin Thaut
Jan 11 2014
parent reply "Kagamin" <spam here.lot> writes:
There were 2 64-bit releases for windows. I used one with ld to 
succesfully compile small application. It's bare metal, though.
Jan 12 2014
parent reply Benjamin Thaut <code benjamin-thaut.de> writes:
Am 12.01.2014 12:52, schrieb Kagamin:
 There were 2 64-bit releases for windows. I used one with ld to
 succesfully compile small application. It's bare metal, though.
So non of the officialy released packages are able to produce 64-bit binaries?
Jan 12 2014
next sibling parent "Kagamin" <spam here.lot> writes:
The things are still on their way:
http://forum.dlang.org/post/sbegasuubkzkgrubrqkn forum.dlang.org
Jan 12 2014
prev sibling parent reply "Kai Nacke" <kai redstar.de> writes:
On Sunday, 12 January 2014 at 11:54:37 UTC, Benjamin Thaut wrote:
 Am 12.01.2014 12:52, schrieb Kagamin:
 There were 2 64-bit releases for windows. I used one with ld to
 succesfully compile small application. It's bare metal, though.
So non of the officialy released packages are able to produce 64-bit binaries?
Hi Benjamin! Yes, that is true. I hope to land my exception handling patch in LLVM trunk soon. Then we can release versions for mingw64 and MSVC, too. Regards, Kai
Jan 12 2014
parent reply "Kagamin" <spam here.lot> writes:
http://reviews.llvm.org/D4081 - this seems to be committed. Does 
it implement support for exceptions on win64?
Jun 26 2014
parent "Kai Nacke" <kai redstar.de> writes:
On Thursday, 26 June 2014 at 09:48:27 UTC, Kagamin wrote:
 http://reviews.llvm.org/D4081 - this seems to be committed. 
 Does it implement support for exceptions on win64?
Yes, this is the base for exceptions on win64. It implements the mingw-w64 model so LDC binaries for native Win64 and mingw-w64 are possible. Regards, Kai
Jun 26 2014