On Sunday, 16 July 2017 at 22:40:18 UTC, Anonymous wrote:
On Sunday, 16 July 2017 at 21:37:12 UTC, Seb wrote:
How about simply building the bootstrap binary yourself then?
I think 2.067 is the last version that's still written in C++:

https://github.com/dlang/dmd/tree/2.067

Yep, that should work. I believe this should be put somewhere on the wiki because otherwise bootstrapping is hard to figure out.

The wiki does explain that you need a bootstrap compiler, it tells you what will be done. Unfortunately, it doesn't explain that the auto-bootstrap will not work for OpenBSD, because we don't put out builds for that OS. The only BSD we regularly put out builds for is FreeBSD. I will update the wiki page to say that.

As for bootstrapping, it appears that we have not documented it anywhere on the wiki, I'll add some info on that. The last dmd we released that was written in C++ was 2.067, for which you can still check out the branch. You'd have to build that bootstrap compiler 2.067 first, then worry about the latest dmd.

Since we don't regularly build for OpenBSD, it's possible that support has slipped behind. Usually, it's as easy as adding OpenBSD to a couple more #ifdefs, but sometimes you need to adapt the dmd source also for a rarely used platform like OpenBSD.

Reply via email to