Any version of any D compiler that works properly on Mac OS X 10.6?

Anders F Björklund afb at algonet.se
Tue Nov 3 04:55:17 PST 2009


>> Is anybody developing in D on Snow Leopard?
> ...
>>  • GDC is only for 10.4 and 10.5.
> 
> GDC "should" be able to build for Mac OS X 10.6,
> if using the legacy gcc-4.0 compiler (gcc-5484)

One thing that *could* be done, is to install the
older Xcode in /Developer - besides the newer one.

You can install Xcode 2.5, and then install the
GDC package for Tiger in /Developer/Xcode2.5/usr
(you would want to use the darwin8 -isysroot of
"/Developer/SDKs/MacOSX10.4u.sdk" for that one)

http://downloads.sourceforge.net/gdcmac/gdc-trunk-r229-mac-10.4.dmg

Or you can install Xcode 3.1, and then install the
GDC package for Leopard in /Developer/Xcode3.1/usr
(you would want to use the darwin9 -isysroot of
"/Developer/SDKs/MacOSX10.5.sdk" for that one)

http://downloads.sourceforge.net/gdcmac/gdc-trunk-r229-mac-10.5.dmg

This should work in "compatibility" mode, until a
"native" version of GDC has been made for gcc-4.2.

--anders


PS. There is a button in the Installer, where you
can relocate the package from the default of /usr.
If you want to use Tango instead of Phobos, you
then install the Tango package (after the GDC)...

http://downloads.dsource.org/projects/tango/0.99.8/tango-0.99.8-mac-10.4.dmg



More information about the Digitalmars-d mailing list