Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-12 Thread Andrej Mitrovic
This is great, the binaries now work. Thanks for your hard work Daniel. Btw, it seems GDMD is hardcoded to D1? -fd-version is always 1, there's a -v1 switch for GDMD but no -v2 switch. Should I file this?

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-12 Thread Andrej Mitrovic
Here's what I can add on line 434 in GDMD to make it work: } elsif ( $arg =~ m/^-v2$/ ) { push @out, '-v2';

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-11 Thread Daniel Green
On 12/11/2011 2:39 AM, bearophile wrote: I feel stupid -.- Sorry, it's really a packaging issue. Switching GDC to target i686 changed some library and exectuable paths resulting in these issues. I'd like a single zip/rar/7zip with all needed files inside, with GCC too :-) That could be

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-11 Thread Andrew Wiley
On Sun, Dec 11, 2011 at 10:29 AM, Daniel Green ven...@gmail.com wrote: On 12/11/2011 2:39 AM, bearophile wrote: I feel stupid -.- Sorry, it's really a packaging issue.  Switching GDC to target i686 changed some library and exectuable paths resulting in these issues. I'd like a single

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-11 Thread bearophile
Daniel Green: 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 Now it compiles a working hello world, thank you :-) A not stripped hello world is 3_908_177 bytes, much bigger than the binary

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-11 Thread Daniel Green
On 12/11/2011 7:33 PM, bearophile wrote: A not stripped hello world is 3_908_177 bytes, much bigger than the binary produced by DMD, and it's 677_888 bytes stripped. DMD 2.057beta+optilink produce a 932_892 bytes hello world binary, while using the same DMD+ulink it becomes 334_576 bytes. I

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-10 Thread Daniel Green
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-10 Thread bearophile
Daniel Green: Updated binaries. https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm-1-gdc-7e22befef29c-20111210.7z I have tried the same install operations I have tried in a precedent post, and now it says it is not finding this: libgmp-3.dll This thread that seems related:

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-10 Thread Daniel Green
On 12/10/2011 4:38 PM, bearophile wrote: I have tried the same install operations I have tried in a precedent post, and now it says it is not finding this: 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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-10 Thread bearophile
Daniel Green: Did you install TDM-GCC or MinGW Stable? Like in my precedent test I have installed tdm-gcc-4.6.1 exe MinGW / sjlj: http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.6.1.exe/download TDM-GCC is built with shared libraries using gmp-4.3.2. MinGW stable

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-06 Thread Alex Rønne Petersen
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-05 Thread Trass3r
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-05 Thread Daniel Green
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-05 Thread Trass3r
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-05 Thread bearophile
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

Re: Release: MinGW GCC 4.6.1 GDC 1.070/2,.055

2011-12-05 Thread Daniel Green
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