Thread overview | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 06, 2011 Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
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. |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Green | 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
>
> * 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.
Excellent, thanks! Downloading it now.
|
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Great news, but it doesn't link on Windows: https://bitbucket.org/goshawk/gdc/issue/277/gdc-2055-tdm-451-linking-error |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Green | 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? |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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. |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Green | >> 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?
|
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | You can use GDMD with Perl on windoze. I use strawberry perl (http://strawberryperl.com/) and a batch script. |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Green | Daniel Green: > * -v1(default) compiles for D1. I suggest to make D2 the default. I have installed the latest TDM GCC in C:\MinGW Then I have unpacked the 7-zip over the directories of the MinGW install. 150+ files got overwritten, some executables too. I have made sure C:\MinGW\bin and C:\MinGW\lib are in the path. C:\MinGW\lib contains libgphobos.a too. If now I compile a little program using: gdc -v2 test.d It probably doesn't find Phobos: c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o): In function `D3std8bitmanip8BitArray7opIndexMxFkZb': C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: undefined reference to `__sync_fetch_and_add_4' ... c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o):C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: more undefined references to `__sync_fetch_and_add_4' follow I don't even know what C:\crossdev\ is, I don't have that directory. Do you know how to improve this situation? Bye and thank you, bearophile |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On 12/5/2011 9:47 PM, bearophile wrote: > I suggest to make D2 the default. That's the plan. > I have installed the latest TDM GCC in > C:\MinGW > > Then I have unpacked the 7-zip over the directories of the MinGW install. 150+ files got overwritten, some executables too. > > I have made sure C:\MinGW\bin and C:\MinGW\lib are in the path. C:\MinGW\lib contains libgphobos.a too. > > If now I compile a little program using: > gdc -v2 test.d > > It probably doesn't find Phobos: > > c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o): In function `D3std8bitmanip8BitArray7opIndexMxFkZb': > C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: undefined reference to `__sync_fetch_and_add_4' > ... > c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../libgphobos2.a(bitmanip.o):C:\crossdev\gdc\v2\build\mingw32\libphobos/../../../gcc-4.6.1/libphobos/std/bitmanip.d:410: more undefined references to `__sync_fetch_and_add_4' follow > > I don't even know what C:\crossdev\ is, I don't have that directory. Debug information. That's where it was compiled. > Do you know how to improve this situation? I had to recompile binutils to enable TLS support. It appears I messed up some configure options. I will post once I've fixed the issue and uploaded new binaries. -Daniel |
December 06, 2011 Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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
|
Copyright © 1999-2021 by the D Language Foundation