Re: Porting gdc/dmd

Samuel Thibault <[email protected]> Wed, 24 Jun 2026 03:13:38 +0200
Newsgroups gmane.os.hurd.bugs
Organization I am not organized
Message-ID <ajsvQhwPYGA6YR9v@end>
Hello,

yelninei--- via Bug reports for the GNU Hurd, le mer. 17 juin 2026 10:37:02 +0200, a ecrit:
> The changes have been merged into dmd and phobos master.

Nice!

> There might still be minor issues all over the place because hand translating almost the entire libc headers into D is tedious work.

Uh :/ Been there with rust, done that too... Why are languages still
doing this rather than just relying on C headers...

> I have backports to gcc-11 and gcc-14/15 which are enough to bootstrap or cross compile an initial gdc (for both i686 and x86_64) that can then be used to build dmd. How is Dlang currently bootstrapped in debian and gentoo?

The rebootstrap script can be used to cross-build gcc from a linux host
for instance.

How did you bootstrap for your work? Did you cross-compile?

Samuel