FreeBSD port

Kai Nacke kai at redstar.de
Tue Aug 27 13:11:25 PDT 2013


On Sunday, 25 August 2013 at 11:07:13 UTC, Gour wrote:
> Considering FreeBSD's move to clang/llvm, it would be great to 
> have ldc
> as well..

Sure, I try to get it working.

If you like you could try it yourself.

To use the Git version:
- in rt.sections_ldc.d replace line 297 (static assert ...) with 
return null
- replace the gc with the file from gcstub
then you can compile&run D programs with LDC. (This disables the 
garbage collector. With this setup only 21 tests fail out of 
1044.)

The real problem seems to be that not the right memory ranges are 
advertised to the GC and therefore the GC crashes.

Regards
Kai


More information about the digitalmars-d-ldc mailing list