Hi everybody,

I recently became interested in the D programming language and saw that the 
Hurd support was not great. In gcc-11 there is some basic support in gdc but 
none in the runtime and standard library. Newer versions of gdc require a 
previous gdc.

On a 32bit Hurd I am currently able to build gdc-11 -> gdc-14 -> dmd 2.112 -> 
dmd 2.112.
After convincing gcc-11 to recognise x86-64-*-gnu it also works there.
I am currently trying to make the tests pass in dmd, druntime and phobos as 
some of them still segfault.
I hope that getting ldc to work only requires minimal additional changes but as 
I am currently unable to build llvm for hurd I have not looked into it.

I'd really like someone to double check my changes especially the druntime ones 
with the libc/pthread constants and struct definitions. Before that I'd like to 
clean things up a bit as i my focus so far has been functionality over style. 
What would be the best way to do that?
Y.

Reply via email to