GDC - who does what?
Anders F Björklund
afb at algonet.se
Wed Jan 20 23:32:49 PST 2010
Steve Teale wrote:
>> I have been doing some GDC/GDB installers:
>> * http://gdcwin.sourceforge.net/ (MinGW)
>> * http://gdcgnu.sourceforge.net/ ("FSF")
>> * http://gdcmac.sourceforge.net/ (Apple)
>>
>> Mostly for use with wxD and with Code::Blocks,
>> and to make it easier to get started with D...
>> Either the old GDC 0.24 release, or the "stable"
>> DMD 1.030 based. The GDB is with the D patches.
> Thanks Anders, that's helpful. If I put together a GDC-newbie page, can I quote what you say?
Sure. You can use the "getting started" too if it helps:
* http://gdcwin.sourceforge.net/GettingStarted.pdf
* http://gdcmac.sourceforge.net/GettingStarted.pdf
Instructions on MinGW or Xcode Tools found elsewhere,
having "the right" GCC installed is a pre-requirement.
There's also some stuff on the Wiki4D or Tango wikis.
> Also it seems that there is a confusing proliferation of GDC versions based on DMD 1.0xx. You mention two, one presumably 1.024 based and the other 1.030 (where do I get that?). There's also the 1.043 based version mentioned on bitbucket/goshawk/gdc. Which should we be pushing?
The first one is the "released" version. Unfortunately
it doesn't work with Tango, so I've been doing a build
from trunk - while also fixing some Vista/Leopard issues.
DMD 1.030 is the one listed as "stable" by DigitalMars,
on http://www.digitalmars.com/d/download.html that is.
Presumably you want the "latest", once released/ready ?
The source tarballs should be right next to the binaries:
http://downloads.sourceforge.net/project/gdcwin/gdc/r229/gdc-trunk-r229.tar.gz
http://downloads.sourceforge.net/project/gdcmac/gdc/r229/gdc-trunk-r229.tar.bz2
It's just a export of a svn checkout (-r229) from:
https://dgcc.svn.sourceforge.net/svnroot/dgcc/trunk/
Some minor backports were added too, as .patch files.
> I have been exercising the 1.024 version (4.2.4 20080705 (prerelease gdc 0.25 20080312, using dmd 1.024 - from Ubuntu), with a bunch of code I wrote some time ago, and it has done well - only one show-stopper so far, for which I want to try the later versions.
I have been using the svn revision number instead,
"(gdc prerelease 0.25 svn 229, using dmd 1.030)".
It would be matching 20080601 if using the svn date.
> If you have something to do with the Code::Blocks packaging, you should note that their regular expressions for parsing the compiler messages are broken (both for GDC and DMD). If you want, I'll fish out the ones I have used to get it working reasonably.
Sure, if you have a link to the BerliOS* bug report
or even better - patches, I'll try to include them.
* http://developer.berlios.de/projects/codeblocks/
--anders
More information about the D.gnu
mailing list