www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - LDC2 Status

reply dsimcha <dsimcha yahoo.com> writes:
I tried LDC2 for Linux out last week and again last night.  I didn't 
spend much time on it on either attempt, but so far I haven't been able 
to get even Hello, World to compile.  It seems like the instructions for 
building druntime, etc. are horribly outdated, the patches bit rotted, 
etc.  Has anyone managed to get past these hurdles and compile Hello, 
World lately?  If so, would you mind posting some instructions?  If LDC2 
is, in fact, mature enough that it would be worthwhile, I'd like to test 
it out, file bug reports, etc.
Feb 22 2011
next sibling parent Trass3r <un known.com> writes:
 I tried LDC2 for Linux out last week and again last night.

I was even more self-torturing, I tried to compile it on Windoze twice I think. But it didn't really work. Also I got the feeling that LDC2 has been hastily updated to the newest dmd frontend without verifying each upgrade step by step and now things are subtly broken.
Feb 23 2011
prev sibling parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 22/02/11 23:52, dsimcha wrote:
 I tried LDC2 for Linux out last week and again last night. I didn't
 spend much time on it on either attempt, but so far I haven't been able
 to get even Hello, World to compile. It seems like the instructions for
 building druntime, etc. are horribly outdated, the patches bit rotted,
 etc. Has anyone managed to get past these hurdles and compile Hello,
 World lately? If so, would you mind posting some instructions? If LDC2
 is, in fact, mature enough that it would be worthwhile, I'd like to test
 it out, file bug reports, etc.

LDC2 has a way to go before being D2 ready, gdc is far further along. From what I can gather, the following should compile ldc, druntime and phobos, it seems (very) broken currently though - best to get in touch with the guy working on it - I have a feeling he's using an old version of druntime. hg clone https://bitbucket.org/prokhin_alexey/ldc2 cd ldc2 git clone https://github.com/D-Programming-Language/druntime git clone https://github.com/D-Programming-Language/phobos ccmake . # type c, aet D_VERSION and RUNTIME_DIR, type c, set PHOBOS2_DIR, # type c, type g make phobos2 -- Robert http://octarineparrot.com/
Feb 23 2011
parent Robert Clipsham <robert octarineparrot.com> writes:
On 23/02/11 21:15, Robert Clipsham wrote:
 On 22/02/11 23:52, dsimcha wrote:
 I tried LDC2 for Linux out last week and again last night. I didn't
 spend much time on it on either attempt, but so far I haven't been able
 to get even Hello, World to compile. It seems like the instructions for
 building druntime, etc. are horribly outdated, the patches bit rotted,
 etc. Has anyone managed to get past these hurdles and compile Hello,
 World lately? If so, would you mind posting some instructions? If LDC2
 is, in fact, mature enough that it would be worthwhile, I'd like to test
 it out, file bug reports, etc.

LDC2 has a way to go before being D2 ready, gdc is far further along. From what I can gather, the following should compile ldc, druntime and phobos, it seems (very) broken currently though - best to get in touch with the guy working on it - I have a feeling he's using an old version of druntime. hg clone https://bitbucket.org/prokhin_alexey/ldc2 cd ldc2 git clone https://github.com/D-Programming-Language/druntime git clone https://github.com/D-Programming-Language/phobos ccmake . # type c, aet D_VERSION and RUNTIME_DIR, type c, set PHOBOS2_DIR, # type c, type g make phobos2

Scrap that, Alexy just replied with far better information! -- Robert http://octarineparrot.com/
Feb 23 2011