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:
--20cf3074d7586c825904bea40afd
Content-Type: text/plain; charset=UTF-8

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

--20cf3074d7586c825904bea40afd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_extra">Hooray! *does a jig*</div><div class=3D"gmail_ex= tra"><br></div><div class=3D"gmail_extra">Cheers bloke! :)</div><div class= =3D"gmail_extra"><br><div class=3D"gmail_quote">On 27 April 2012 06:19, Dan= iel Green <span dir=3D"ltr">&lt;<a href=3D"mailto:venix1 gmail.com" target= =3D"_blank">venix1 gmail.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Please post all issues in D.gnu or on GDC&#3= 9;s site <a href=3D"https://bitbucket.org/goshawk/gdc" target=3D"_blank">ht= tps://bitbucket.org/goshawk/<u></u>gdc</a><br> <br> Due to the use of a newer runtime than TDM64-GCC it is **recommended** to i= nstall a copy specifically for GDC.<br> <br> Features<br> =C2=A0**ALPHA** As in, D2.058 support is still new.<br> =C2=A0* D2.058<br> =C2=A0* Debug information available using gnu-debuglink.<br> =C2=A0* Removed D1(Did anyone use this featuer?).<br> =C2=A0 * Due to current system breaking with repository changes and D1<br> =C2=A0 =C2=A0 being discontinued at the end of the year.<br> =C2=A0* binutils with TLS patches<br> =C2=A0* mingw-w64-runtime with TLS and stdio fixes.<br> =C2=A0* GCC 4.6.1 with TLS patches<br> <br> Installation instructions:<br> <br> 1. Download and install TDM MinGW64<br> 2. Extract the downloaded archive into the base of the newly installed TDM = install.<br> <br> If you&#39;ve done this before, you can just do step 2.<br> <br> MinGW64 installer<br> <a href=3D"http://tdm-gcc.tdragon.net/" target=3D"_blank">http://tdm-gcc.td= ragon.net/</a><br> <br> GDC binary<br> <a href=3D"https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gd= c-7e1a98da2769-20120426-D2.058.7z" target=3D"_blank">https://bitbucket.org/= goshawk/<u></u>gdc/downloads/gcc-4.6.1-tdm64-<u></u>1-gdc-7e1a98da2769-2012= 0426-<u></u>D2.058.7z</a><br> <br> Known issues:<br> =C2=A0* May break TDM64 C++.<br> =C2=A0* Field-less structs will throw a null this exception. =C2=A0When for= matted by std.format. =C2=A0runnable/test23.d<br> </blockquote></div><br></div> --20cf3074d7586c825904bea40afd--
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