www.digitalmars.com         C & C++   DMDScript  

D.gnu - MinGW Release. D2.058 x86-64

reply Daniel Green <venix1 gmail.com> writes:
Please post all issues in D.gnu or on GDC's site 
https://bitbucket.org/goshawk/gdc

Due to the use of a newer runtime than TDM64-GCC it is **recommended** 
to install a copy specifically for GDC.

Features
  **ALPHA** As in, D2.058 support is still new.
  * D2.058
  * Debug information available using gnu-debuglink.
  * Removed D1(Did anyone use this featuer?).
    * Due to current system breaking with repository changes and D1
      being discontinued at the end of the year.
  * binutils with TLS patches
  * mingw-w64-runtime with TLS and stdio fixes.
  * GCC 4.6.1 with TLS patches

Installation instructions:

1. Download and install TDM MinGW64
2. Extract the downloaded archive into the base of the newly installed 
TDM install.

If you've done this before, you can just do step 2.

MinGW64 installer
http://tdm-gcc.tdragon.net/

GDC binary
https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e1a98da2769-20120426-D2.058.7z

Known issues:
  * May break TDM64 C++.
  * Field-less structs will throw a null this exception.  When formatted 
by std.format.  runnable/test23.d
Apr 26 2012
next sibling parent Manu <turkeyman gmail.com> writes:
Hooray! *does a jig*

Cheers bloke! :)

On 27 April 2012 06:19, Daniel Green <venix1 gmail.com> wrote:

 Please post all issues in D.gnu or on GDC's site
 https://bitbucket.org/goshawk/**gdc <https://bitbucket.org/goshawk/gdc>

 Due to the use of a newer runtime than TDM64-GCC it is **recommended** to
 install a copy specifically for GDC.

 Features
  **ALPHA** As in, D2.058 support is still new.
  * D2.058
  * Debug information available using gnu-debuglink.
  * Removed D1(Did anyone use this featuer?).
   * Due to current system breaking with repository changes and D1
     being discontinued at the end of the year.
  * binutils with TLS patches
  * mingw-w64-runtime with TLS and stdio fixes.
  * GCC 4.6.1 with TLS patches

 Installation instructions:

 1. Download and install TDM MinGW64
 2. Extract the downloaded archive into the base of the newly installed TDM
 install.

 If you've done this before, you can just do step 2.

 MinGW64 installer
 http://tdm-gcc.tdragon.net/

 GDC binary
 https://bitbucket.org/goshawk/**gdc/downloads/gcc-4.6.1-tdm64-**
 1-gdc-7e1a98da2769-20120426-**D2.058.7z<https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e1a98da2769-20120426-D2.058.7z>

 Known issues:
  * May break TDM64 C++.
  * Field-less structs will throw a null this exception.  When formatted by
 std.format.  runnable/test23.d
Apr 27 2012
prev sibling next sibling parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On 27.04.2012 7:19, Daniel Green wrote:
 Please post all issues in D.gnu or on GDC's site
 https://bitbucket.org/goshawk/gdc

 Due to the use of a newer runtime than TDM64-GCC it is **recommended**
 to install a copy specifically for GDC.

 Features
 **ALPHA** As in, D2.058 support is still new.
 * D2.058
 * Debug information available using gnu-debuglink.
 * Removed D1(Did anyone use this featuer?).
 * Due to current system breaking with repository changes and D1
 being discontinued at the end of the year.
 * binutils with TLS patches
 * mingw-w64-runtime with TLS and stdio fixes.
 * GCC 4.6.1 with TLS patches

 Installation instructions:

 1. Download and install TDM MinGW64
 2. Extract the downloaded archive into the base of the newly installed
 TDM install.

 If you've done this before, you can just do step 2.

 MinGW64 installer
 http://tdm-gcc.tdragon.net/

 GDC binary
 https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e1a98da2769-20120426-D2.058.7z


 Known issues:
 * May break TDM64 C++.
 * Field-less structs will throw a null this exception. When formatted by
 std.format. runnable/test23.d
Decided to play with GDC a bit. Strange. I get : C:\Users\Demon\AppData\Local\Temp\ccs8AWDr.o:fred_r.d:(.text+0x2789): undefined reference to `_Dmodule_ref' C:\Users\Demon\AppData\Local\Temp\ccs8AWDr.o:fred_r.d:(.text+0x279e): undefined reference to `_Dmodule_ref' c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib\dmain.o: In function `dmain._D5dmain9__modinitFZv': C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\libphobos\libdruntime/../../../../gcc-4.6.1/libphobos/libdr ntime/rt/dmain.d:1: undefined reference to `_Dmodule_ref' C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\libphobos\libdruntime/../../../../gcc-4.6.1/libphobos/libdr ntime/rt/dmain.d:1: undefined reference to `_Dmodule_ref' <snip> (a LOT of references to _Dmodule_ref) Before I try to workaround this beast anyone have an idea what's wrong? -- Dmitry Olshansky
Apr 27 2012
parent Daniel Green <venix1 gmail.com> writes:
On 4/27/2012 1:58 PM, Dmitry Olshansky wrote:
 Before I try to workaround this beast anyone have an idea what's wrong?
In a nutshell, MinGW has a strange existence between the Posix code and Windows code. So, it's often affected by changes in both. Windows handles modules differently than GDC. So when they changed some things(Moved module handling to minfo.d), it broke MinGW. I have fix, just ironing out a few other issues as well. https://bitbucket.org/goshawk/gdc/issue/338/hello-world-in-mingw-release-d2058-x86-64
Apr 28 2012
prev sibling parent Daniel Green <venix1 gmail.com> writes:
Removed the download.  Broken binaries aren't useful.

Try

https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e1a98da2769-20120428-D2.058.7z
Apr 28 2012