Community

I uploaded packages for Mac OS X 10.6 Snow Leopard
to SourceForge, for Apple GCC build 5664 ("gcc-4.2"):
http://sourceforge.net/projects/gdcmac/files/gdc/6e7de627acdd/
You need the regular Xcode Tools installed (3.2.x),
and the installer .pkg adds gdmd and gdc - as usual.
The compiler can build binaries for x86_64 and i386,
and also ppc using Rosetta. http://apple.com/rosetta/
Phobos has been patched to work with the default -fPIC
and the usual add-ons for GCC and 64-bit compatibility.
Thanks to Iain Buclaw for continuing GDC development,
and again: feedback, patches and bug reports welcome!
https://bitbucket.org/goshawk/gdc/changeset/6e7de627acdd
--anders
PS.
There's also some fixes for wxD, so that it can use
wxWidgets 2.9.1 to build a x86_64 version with Cocoa...
PPS.
Maintainer for a D2 version of my "gdcgnu/gdcmac/gdcwin"
packages wanted, "just add -v2 to the ./gcc/d/setup-gcc.sh"

Jacob Carlborg wrote:
>> I uploaded packages for Mac OS X 10.6 Snow Leopard
>> to SourceForge, for Apple GCC build 5664 ("gcc-4.2"):
>>
>> http://sourceforge.net/projects/gdcmac/files/gdc/6e7de627acdd/
>>
>> PPS.
>> Maintainer for a D2 version of my "gdcgnu/gdcmac/gdcwin"
>> packages wanted, "just add -v2 to the ./gcc/d/setup-gcc.sh"
>
> Is it for D1, D2 or both?
The Mac OS X package was for D1 (DMD 1.064, I believe)
GDC project is for both D language versions, however...
What I was looking for really was someone to build and
maintain the D2 version, since I don't care much for it.
The main change was that I decided to build new 64-bit
versions of the existing gdcgnu/gdcmac/gdcwin packages.
Or multilib, more like. Since they still do 32-bit too.
But I haven't build anything for D2 yet. Too different.
--anders

Iain Buclaw wrote:
>> I uploaded packages for Mac OS X 10.6 Snow Leopard
>> to SourceForge, for Apple GCC build 5664 ("gcc-4.2"):
>
> PPPS.
> Porters wanted for moving gdcmac to the latest LLVM-GCC platform. :~)
It shouldn't be that tricky to port the GCC/GDC patches
from Apple b5664 (Xcode 3.2.4) to LLVM b5658 (LLVM 2.8):
http://opensource.apple.com/tarballs/gcc/gcc-5664.tar.gzhttp://llvm.org/releases/2.8/llvm-gcc-4.2-2.8.source.tgz
It does need someone to port the LLVM runtime, however...
But most likely this can reuse some things from LDC, no ?
Of course, one could just build/use the native compiler
parts from the llvm-gcc-4.2, without the --enable-llvm.
That should build a compiler similar to the Apple GCC,
but it is more likely to work on Linux out of the box.
I can do the compiler work, maybe the basic runtime too.
Using the "dragonegg" is another approach, for GCC-LLVM.
--anders