Who favors the current D1 situation?
Anders F Björklund
afb at algonet.se
Fri Mar 7 13:02:22 PST 2008
Bill Baxter wrote:
>> Another issue at the moment is GDC support however, and that's a more
>> substantial one in my mind. Is
>> there a D2 version of GDC yet?
>>>
> There is code for D2 checked into the GDC repo.
> I don't know how well it works.
> But there has not been a release of a 2.x GDC compiler, no.
To use the D1 version of GDC, one configures it with:
./gcc/d/setup-gcc.sh --d-language-version=1
# currently merged up to DMD 1.022
To instead use the D2 version, one configures it with:
./gcc/d/setup-gcc.sh --d-language-version=2
# currently merged up to DMD 2.005
The D1 language files are in d directories "dmd" and "phobos",
while the new D2 language is in the "dmd2" and "phobos2" dirs.
Support for D 2.0 was added to GDC in revision 160 (Sep, 2007)
But there haven't been any GDC updates in a few months now...
I haven't used it myself yet, just tried DMD 2.x a few times.
(wxD and most samples should be compiling reasonably with D2)
Will probably update my GDC packages with a "gdc2" variant,
that will build the D2 language (while "gdc" would be D1)
--anders
More information about the Digitalmars-d
mailing list