• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Integrating gcc-based D compiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrating gcc-based D compiler


  • Subject: Re: Integrating gcc-based D compiler
  • From: Heath Raftery <email@hidden>
  • Date: Wed, 28 Apr 2004 09:51:26 +1000

Drew,

On 27/04/2004, at 6:19 AM, Drew McCormack wrote:
I've just discovered the new programming language D (http://www.digitalmars.com/d/index.html). Seems to have a lot of stuff I like, so I would like to give it a shot.

Yeah, I've read a little about that. On paper it seems to be what C++ should have been, more along the lines of what Obj-C and C# is doing. There is a handy comparison chart about somewhere, which shows the differences between the various popular languages.


It would be nice if I could use it in Xcode. There is a gcc-based compiler available for Mac OS X. To what extent is it possible to integrate this in Xcode?

You mean there is a gcc-based compiler for D? If you can integrate it into the system cc system, you won't have to do much work at all. Otherwise, you could try defining a new "rule" for your target that maps d to a script which calls your compiler.


I guess syntax highlighting is no problem, and getting xcode to call the compiler may also work OK. But is it possible to get errors and warnings in xcode just as for the other gcc languages?

And could I get debugging to work?

Don't know. Have you tried it? I'm interested in your results. I guess if it closely follows the gcc syntax, you might be okay.


Is it possible to incorporate a dependency analysis other than the default #include one?

I'm afraid I don't know what you mean there.

So have you experimented with any of this? Any luck?

Heath
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Integrating gcc-based D compiler
      • From: Drew McCormack <email@hidden>
References: 
 >Integrating gcc-based D compiler (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: # flag used with printf warning
  • Next by Date: Re: dependent target "Copy files" build phase fails
  • Previous by thread: Integrating gcc-based D compiler
  • Next by thread: Re: Integrating gcc-based D compiler
  • Index(es):
    • Date
    • Thread