Thread overview
Producing a 64-bit binary on windows
Jan 11, 2014
Benjamin Thaut
Jan 12, 2014
Kagamin
Jan 12, 2014
Benjamin Thaut
Jan 12, 2014
Kagamin
Jan 13, 2014
Kai Nacke
Jun 26, 2014
Kagamin
Jun 26, 2014
Kai Nacke
January 11, 2014
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
January 12, 2014
There were 2 64-bit releases for windows. I used one with ld to succesfully compile small application. It's bare metal, though.
January 12, 2014
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?
January 12, 2014
The things are still on their way:
http://forum.dlang.org/post/sbegasuubkzkgrubrqkn@forum.dlang.org
January 13, 2014
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
June 26, 2014
http://reviews.llvm.org/D4081 - this seems to be committed. Does it implement support for exceptions on win64?
June 26, 2014
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