Seems to work in 32-bit mode, but crashes in 64-bit mode.

hello.d:

import std.stdio;

void main() {
   writeln("Hello, world.");
}

gdc -o hello.exe hello.d -m64 -v2

hello.exe

(crash)

Running Windows 7, TDM-GCC 64 installed with the bundle installer.

On Monday, 19 December 2011 at 03:27:07 UTC, Daniel Green wrote:
Please post all issues in D.gnu or on GDC's bitbucket site https://bitbucket.org/goshawk/gdc

* Built against TDM64 GCC 4.6.1:  http://tdm-gcc.tdragon.net/
* Built against GDC revision 7e22befef29c.
* Working TLS support.
* Updated binutils and mingw runtime for TLS support.
* new gas directive @secrel32 will generate a constant offset usable
    as an immediate or displacement value.
    Works like posix counterparts @tpoff, @dtpoff, etc.
  * Fixes issue with the mingw runtime related to TLS.
  * Fixes issue with binutils and secrel32 relocations.
* 7-zip format for size reasons:  http://7-zip.org
* Release includes both D versions.
  * -v1(default) compiles for D1.
  * -v2 compiles for D2.
  * The switch must be used for linking as well.

To install simply extract to you TDM MinGW64 directory.

This release
https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e22befef29c-20111218.7z

All MinGW GDC downloads.
https://bitbucket.org/goshawk/gdc/downloads

All patches, source files and build scripts can be found at https://bitbucket.org/venix1/mingw-gdc/

I will be updating to tip and making -v2 default for the next release.


Reply via email to