www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D 2.0 on Mac OS X

reply Eljay <eljay adobe.com> writes:
Is D 2.0 available on Mac OS X?

OS X 10.4 at least.  OS X 10.5 would be fine.  Both is preferable.  I don't
care about 10.3 or earlier.

Xcode integration - I don't care, since I use Vim and Make.  But I expect the
majority of folks to prefer integration to some version of Xcode... 2.4, 2.5 or
3.1.
Aug 08 2008
next sibling parent reply "Simen Kjaeraas" <simen.kjaras gmail.com> writes:
On Fri, 08 Aug 2008 14:55:07 +0200, Eljay <eljay adobe.com> wrote:

 Is D 2.0 available on Mac OS X?

 OS X 10.4 at least.  OS X 10.5 would be fine.  Both is preferable.  I  
 don't care about 10.3 or earlier.

 Xcode integration - I don't care, since I use Vim and Make.  But I  
 expect the majority of folks to prefer integration to some version of  
 Xcode... 2.4, 2.5 or 3.1.

From what I read on the D.gnu newsgroup, GDC has support for D 2.014. I haven't tested it, though. http://dgcc.sourceforge.net/ -- Simen
Aug 08 2008
parent reply Moritz Warning <moritzwarning web.de> writes:
On Fri, 08 Aug 2008 16:37:06 +0200, Simen Kjaeraas wrote:

 On Fri, 08 Aug 2008 14:55:07 +0200, Eljay <eljay adobe.com> wrote:
 
 Is D 2.0 available on Mac OS X?

 OS X 10.4 at least.  OS X 10.5 would be fine.  Both is preferable.  I
 don't care about 10.3 or earlier.

 Xcode integration - I don't care, since I use Vim and Make.  But I
 expect the majority of folks to prefer integration to some version of
 Xcode... 2.4, 2.5 or 3.1.

From what I read on the D.gnu newsgroup, GDC has support for D 2.014. I haven't tested it, though. http://dgcc.sourceforge.net/

Make sure you enable D2.0 support (D1.0 is default): setup-gcc.sh --d-language-version=2 Here is a howto: http://dsource.org/projects/tango/wiki/GdcInstallation
Aug 08 2008
parent reply Michel Fortin <michel.fortin michelf.com> writes:
On 2008-08-08 11:26:15 -0400, Moritz Warning <moritzwarning web.de> said:

 You need to compile it from sources for D2.0 support.
 Make sure you enable D2.0 support (D1.0 is default):
 setup-gcc.sh --d-language-version=2
 
 Here is a howto:
 http://dsource.org/projects/tango/wiki/GdcInstallation

I've been trying to do that using Apple's version of GCC lately, but not with much success. I'd really like to create a package with my D plugin for Xcode, GDC, and a patched GDB capable of demangling function names; the later two are available on gdcmac.sf.net (thanks Anders), but this version has some problems with Mac OS X Leopard. I'd like to make installation as easy as Xcode itself, but I'm somewhat stuck right now. (The next logical step would be to patch GDC myself so that it compiles fine on top of Apple's GCC, but I hadn't had the time to do that yet.) -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Aug 08 2008
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Michel Fortin wrote:

 I'd really like to create a package with my D plugin for Xcode, GDC, and 
 a patched GDB capable of demangling function names; the later two are 
 available on gdcmac.sf.net (thanks Anders), but this version has some 
 problems with Mac OS X Leopard. I'd like to make installation as easy as 
 Xcode itself, but I'm somewhat stuck right now. (The next logical step 
 would be to patch GDC myself so that it compiles fine on top of Apple's 
 GCC, but I hadn't had the time to do that yet.)

A version supporting Leopard and Xcode 3 is on the TODO, but Tango support has higher priority than the D2 language at the moment... That is, "supporting Leopard natively" - the current* version of GDC should be able to limp along with the Tiger compilers and Xcode 2.5. --anders * that would be the latest subversion with some Leopard linker hacks: http://downloads.sourceforge.net/gdcmac/gdc-trunk-r206-mac-10.4.dmg
Aug 10 2008
prev sibling parent Michel Fortin <michel.fortin michelf.com> writes:
On 2008-08-08 08:55:07 -0400, Eljay <eljay adobe.com> said:

 Xcode integration - I don't care, since I use Vim and Make.  But I 
 expect the majority of folks to prefer integration to some version of 
 Xcode... 2.4, 2.5 or 3.1.

Xcode integration is pretty good using my D for Xcode plugin. There is a small glitch with the latest Xcode 3.1, but it works pretty well for Xcode 2.4, 2.5 and 3.0. <http://michelf.com/projects/d-for-xcode/> -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Aug 08 2008