Re: Building DMD on OpenBSD

2017-07-18 Thread Anonymous via Digitalmars-d
On Tuesday, 18 July 2017 at 05:11:30 UTC, Kai Nacke wrote: In master there is already some OpenBSD support. Some time ago I worked on druntime support but I still need to finish this. Mostly there is nothing magic here - just translating the header files. The only non-obvious work is required

Re: Building DMD on OpenBSD

2017-07-17 Thread Kai Nacke via Digitalmars-d
On Monday, 17 July 2017 at 18:58:40 UTC, Joakim wrote: On Monday, 17 July 2017 at 18:42:39 UTC, Anonymous wrote: On Monday, 17 July 2017 at 17:18:23 UTC, Joakim wrote: Unfortunately, dmd has not kept porters in mind and hasnt kept the C++ version updated, or kept a workflow that enables easy

Re: Building DMD on OpenBSD

2017-07-17 Thread Joakim via Digitalmars-d
On Monday, 17 July 2017 at 18:42:39 UTC, Anonymous wrote: On Monday, 17 July 2017 at 17:18:23 UTC, Joakim wrote: Unfortunately, dmd has not kept porters in mind and hasnt kept the C++ version updated, or kept a workflow that enables easy bootstrapping:

Re: Building DMD on OpenBSD

2017-07-17 Thread Anonymous via Digitalmars-d
On Monday, 17 July 2017 at 17:18:23 UTC, Joakim wrote: Unfortunately, dmd has not kept porters in mind and hasnt kept the C++ version updated, or kept a workflow that enables easy bootstrapping: http://forum.dlang.org/thread/xgtbpcvbikxlilanr...@forum.dlang.org You will have to build

Re: Building DMD on OpenBSD

2017-07-17 Thread Joakim via Digitalmars-d
On Monday, 17 July 2017 at 16:45:28 UTC, Anonymous wrote: On Monday, 17 July 2017 at 09:58:42 UTC, Joakim wrote: The last dmd we released that was written in C++ was 2.067, for which you can still check out the branch. Youd have to build that bootstrap compiler 2.067 first, then worry about

Re: Building DMD on OpenBSD

2017-07-17 Thread Anonymous via Digitalmars-d
On Monday, 17 July 2017 at 09:58:42 UTC, Joakim wrote: The last dmd we released that was written in C++ was 2.067, for which you can still check out the branch. Youd have to build that bootstrap compiler 2.067 first, then worry about the latest dmd. Since we dont regularly build for

Re: Building DMD on OpenBSD

2017-07-17 Thread Jonathan M Davis via Digitalmars-d
On Sunday, July 16, 2017 19:00:32 Anonymous via Digitalmars-d wrote: > I did some googling (well, duckduckgoing) and found a few posts > on this forum indicating that this could work. So I gave it a try > and followed https://wiki.dlang.org/Building_under_Posix > The build failed because

Re: Building DMD on OpenBSD

2017-07-17 Thread Joakim via Digitalmars-d
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 thats still written in C++: https://github.com/dlang/dmd/tree/2.067 Yep, that should

Re: Building DMD on OpenBSD

2017-07-16 Thread Anonymous via Digitalmars-d
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 thats 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

Re: Building DMD on OpenBSD

2017-07-16 Thread Seb via Digitalmars-d
On Sunday, 16 July 2017 at 21:05:53 UTC, Anonymous wrote: On Sunday, 16 July 2017 at 19:47:20 UTC, Seb wrote: Auto-bootstrapping is __only__ used if no host compiler is found on the system. This should only happen on esoteric platforms (not intended as an offense) like yours. So I should use

Re: Building DMD on OpenBSD

2017-07-16 Thread Anonymous via Digitalmars-d
On Sunday, 16 July 2017 at 19:47:20 UTC, Seb wrote: Auto-bootstrapping is __only__ used if no host compiler is found on the system. This should only happen on esoteric platforms (not intended as an offense) like yours. So I should use digger then? I looked through its repo briefly and I cant

Re: Building DMD on OpenBSD

2017-07-16 Thread Seb via Digitalmars-d
On Sunday, 16 July 2017 at 19:00:32 UTC, Anonymous wrote: I did some googling (well, duckduckgoing) and found a few posts on this forum indicating that this could work. So I gave it a try and followed https://wiki.dlang.org/Building_under_Posix The build failed because src/posix.mak in the dmd

Building DMD on OpenBSD

2017-07-16 Thread Anonymous via Digitalmars-d
I did some googling (well, duckduckgoing) and found a few posts on this forum indicating that this could work. So I gave it a try and followed https://wiki.dlang.org/Building_under_Posix The build failed because src/posix.mak in the dmd repo was trying to download