[Issue 17852] cannot compile phobos on freebsd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 8 16:55:44 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17852

--- Comment #3 from Mengu Kagan <mengukagan at gmail.com> ---
(In reply to Jonathan M Davis from comment #2)
> So, what's the bug then? dmd, phobos, etc. are written to build with GNU's
> make on POSIX systems, and Digital Mars' make on Windows. That means using
> gmake on FreeBSD rather than make. The wiki should be updated to reflect the
> fact that gmake is needed on FreeBSD (or probably any POSIX system that
> isn't Linux), but that's not a bug in Phobos or dmd or any of that. Using
> BSD make for FreeBSD would mean either having different makefiles for
> FreeBSD and Linux rather than sharing them like we do now, or it would mean
> forcing Linux users to install and use BSD's make.

this was the first time i compiled dmd, druntime and phobos myself. i've always
used pre-compiled versions or installed through brew or apt. 

when you download from dlang.org web site and intuitively try compiling it
(let's say after you've changed some stuff on phobos), nothing works out. when
you check out all the projects separately into a dir and compile, it compiles
without any issues. i believe it's core team's decision to think of it as a bug
or not.

--


More information about the Digitalmars-d-bugs mailing list