Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread Daniel Green
On 12/19/2011 12:07 PM, dsimcha wrote: ...And with D1, everything works again in 32-bit mode but in 64-bit mode: gdc -o hello.exe hello.d -m64 c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib/libgphobos.a( win32.o):(.text+0xc3): undefined reference to `_data_start__' c:/ming

Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread dsimcha
Yeah, I just added the -m64 to the command line for explicitness. I figured out that 64 is the default. On Monday, 19 December 2011 at 16:42:16 UTC, Andrej Mitrovic wrote: On 12/19/11, Andrej Mitrovic wrote: I think it compiles in 64bit mode by default. This assert passes without -m64: stat

Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread dsimcha
...And with D1, everything works again in 32-bit mode but in 64-bit mode: gdc -o hello.exe hello.d -m64 c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib/libgphobos.a( win32.o):(.text+0xc3): undefined reference to `_data_start__' c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.

Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread Andrej Mitrovic
On 12/19/11, Andrej Mitrovic wrote: > I think it compiles in 64bit mode by default. This assert passes without > -m64: > static assert(size_t.sizeof == 8); Woops, sorry I assumed you meant it doesn't, but you didn't say that. My bad. :)

Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread Andrej Mitrovic
I think it compiles in 64bit mode by default. This assert passes without -m64: static assert(size_t.sizeof == 8); The crash seems related to stdio. It doesn't happen with -m32.

Re: Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

2011-12-19 Thread dsimcha
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: