www.digitalmars.com         C & C++   DMDScript  

D.gnu - Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

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

  * Built against TDM 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 an error with the mingw runtime related to TLS.
  * 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.
  * Made possible by Iain Buclaw's hard work in maintaining GDC.
  * 64bit and up to date GDC forthcoming.

To install simply extract to you TDM MinGW32 directory.

This release
https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111205.zip

All MinGW GDC downloads.
It's highly recommended to ignore all prior builds.  TLS *will* not work.
https://bitbucket.org/goshawk/gdc/downloads


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

Enjoy.
Dec 05 2011
next sibling parent Andrew Wiley <wiley.andrew.j gmail.com> writes:
On Mon, Dec 5, 2011 at 6:57 PM, Daniel Green <venix1 gmail.com> wrote:
 Please post all issues in D.gnu or on GDC's bitbucket site
 https://bitbucket.org/goshawk/gdc

 =A0* Built against TDM GCC 4.6.1: =A0http://tdm-gcc.tdragon.net/
 =A0* Built against GDC revision 7e22befef29c.
 =A0* Working TLS support.
 =A0* Updated binutils and mingw runtime for TLS support.
 =A0 * new gas directive  secrel32 will generate a constant offset usable
 =A0 =A0 as an immediate or displacement value.
 =A0 =A0 Works like posix counterparts  tpoff,  dtpoff, etc.
 =A0 * Fixes an error with the mingw runtime related to TLS.
 =A0* 7-zip format for size reasons: =A0http://7-zip.org
 =A0* Release includes both D versions.
 =A0 * -v1(default) compiles for D1.
 =A0 * -v2 compiles for D2.
 =A0 * The switch must be used for linking as well.
 =A0* Made possible by Iain Buclaw's hard work in maintaining GDC.
 =A0* 64bit and up to date GDC forthcoming.

 To install simply extract to you TDM MinGW32 directory.

 This release
 https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef=
29c-20111205.zip
 All MinGW GDC downloads.
 It's highly recommended to ignore all prior builds. =A0TLS *will* not wor=
k.
 https://bitbucket.org/goshawk/gdc/downloads


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

 Enjoy.
Excellent, thanks! Downloading it now.
Dec 05 2011
prev sibling next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
Great news, but it doesn't link on Windows:
https://bitbucket.org/goshawk/gdc/issue/277/gdc-2055-tdm-451-linking-error
Dec 05 2011
prev sibling next sibling parent reply Trass3r <un known.com> writes:
Thx!

   * Release includes both D versions.
     * -v1(default) compiles for D1.
     * -v2 compiles for D2.
     * The switch must be used for linking as well.
Why is D1 still the default?
   * 64bit and up to date GDC forthcoming.
Imho the 64 bit version is even more important since gdc is the only option at all to produce Win64 binaries. (and of course beginning with Win7 everyone should use an x64 OS anyway ;))
   * 7-zip format for size reasons:  http://7-zip.org
perfect.
 This release
 https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111205.zip
but why is there a zip version anyway?
Dec 05 2011
parent reply Daniel Green <venix1 gmail.com> writes:
On 12/5/2011 8:28 PM, Trass3r wrote:
 Why is D1 still the default?
Because this is the first release where I felt D2 was capable of being the default and I forgot about it until writing the post. It also requires some reworking of the changes that enable dual compilers.
 but why is there a zip version anyway?
I posted with a zip extension in the original post, so rather than letting everyone get an 404 error, I just uploaded a zip file.
Dec 05 2011
parent reply Trass3r <un known.com> writes:
 Why is D1 still the default?
Because this is the first release where I felt D2 was capable of being the default and I forgot about it until writing the post. It also requires some reworking of the changes that enable dual compilers.
 but why is there a zip version anyway?
I posted with a zip extension in the original post, so rather than letting everyone get an 404 error, I just uploaded a zip file.
I see. btw, is there something like gdmd for Windoze too?
Dec 05 2011
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
You can use GDMD with Perl on windoze. I use strawberry perl
(http://strawberryperl.com/) and a batch script.
Dec 05 2011
prev sibling parent =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= <xtzgzorex gmail.com> writes:
On 06-12-2011 02:46, Trass3r wrote:
 Why is D1 still the default?
Because this is the first release where I felt D2 was capable of being the default and I forgot about it until writing the post. It also requires some reworking of the changes that enable dual compilers.
 but why is there a zip version anyway?
I posted with a zip extension in the original post, so rather than letting everyone get an 404 error, I just uploaded a zip file.
I see. btw, is there something like gdmd for Windoze too?
That would be very helpful, indeed! I don't feel like rewriting all of my makefiles to use GDC's parameter syntax. ;) - Alex
Dec 06 2011
prev sibling parent reply Daniel Green <venix1 gmail.com> writes:
Updated binaries.
https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111210.7z

  * GDC now targets i686 processors.  Was targeting i386 which required 
substituting functions for atomic instructions.

I will release MinGW64 binaries soon then work on updating to tip and 
changing the default compiler to D2.

-Daniel
Dec 10 2011
parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 12/10/11, Daniel Green <venix1 gmail.com> wrote:
 Updated binaries.
 https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111210.7z
Doesn't work with TDM 4.6.1 bundle installer. --------------------------- cc1d2.exe - Unable To Locate Component --------------------------- This application has failed to start because libgmp-3.dll was not found. Re-installing the application may fix this problem. The only place I've found gmp is here: http://sourceforge.net/projects/mingw/files/MinGW/Base/gmp/gmp-5.0.1-1/ And that one is libgmp-10.dll, not libgmp-3.dll.
Dec 10 2011
parent reply Daniel Green <venix1 gmail.com> writes:
On 12/10/2011 12:27 PM, Andrej Mitrovic wrote:
 Doesn't work with TDM 4.6.1 bundle installer.

 The only place I've found gmp is here:
 http://sourceforge.net/projects/mingw/files/MinGW/Base/gmp/gmp-5.0.1-1/

 And that one is libgmp-10.dll, not libgmp-3.dll.
Did you install TDM-GCC or MinGW Stable? TDM-GCC is built with shared libraries using gmp-4.3.2. MinGW stable is built with static libraries. The dll you listed comes from gmp-5.0.1. I am using the TDM-GCC build scripts to build the D compiler as well. You can find the files inside the "libexec/mingw32/4.6.1" folder of the TDM-GCC core download from the downloads page.
Dec 10 2011
parent Daniel Green <venix1 gmail.com> writes:
Sorry, it's really a packaging issue.  Switching GDC to target i686 
changed some library and executable paths resulting in these issues.

I've repackaged and tested it from a clean install.

https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111211.7z
Dec 11 2011