The D/Objective-C Bridge 0.2

Anders F Bjöšrklund afb at algonet.se
Tue Jan 15 11:45:01 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?

Install two versions of GDC, one with Phobos and one with Tango...
I usually keep the first one in /usr and the second one in /opt/gdc
(where the /usr would be from gdcmac dmg, and the /opt from dgcc tbz)

More on http://dsource.org/projects/tango/wiki/PhobosTangoCooperation

But recent testing shows that they are inching closer to eachother,
so that eventually it will be possible to change with the flick of
a compiler version parameter (i.e. -fversion=Tango -fversion=Posix)

Not sure whether -nophoboslib will be needed or not, when complete ?

--anders



More information about the Digitalmars-d-announce mailing list