The D/Objective-C Bridge 0.2

doob doobnet at gmail.com
Tue Jan 15 07:23:52 PST 2008


Michel Fortin wrote:
> Well, perhaps it won't be truly two paralel versions in the source code, 
> but what I expect to be bothersome is testing. I'd need to compile 
> everything twice to make sure it work. How do I switch fast between 
> compiling against Tango and Phobos?

Probably with dsss, it has a switch called "dc", and you add a profile 
do the "dc" switch like this for example: "rebuild something 
dc=gdc-posix-tango" and "dc=gdc-posix". The profiles are files located 
in the dsss/etc/rebuild folder (at least on windows). I don't know how 
you do this under mac the best way but under windows you can have one 
lib folder for tango, one for phobos and one common for both and then 
have two sc.ini files that looks slightly different. I don't know if you 
can do anything similar under mac.

> But I'm wondering now: who is seriously interested in using the 
> D/Objective-C bridge with Tango?

I would be interested in using the D/Objective-C bridge with Tango, not 
for the moment but definitely later.




More information about the Digitalmars-d-announce mailing list