Lines 53-55 in backend.c:
#if MARS
#include "../mars/mars.h" // This file doesn't exit.
#endif
I guess this got by so many other people because MARS is only defined on really old Linux distros. To fix the problem, change it to:
#include "../mars.h" // Works.
Comment #1 by dsimcha — 2009-10-12T20:26:08Z
*** Issue 3299 has been marked as a duplicate of this issue. ***
Comment #2 by leandro.lucarella — 2009-10-23T13:04:56Z
*** Issue 3411 has been marked as a duplicate of this issue. ***
Comment #3 by gide — 2009-10-24T04:03:16Z
> digited Wrote:
Today i've built DMD1 on Mac 10.5 (Intel) just like this:
svn co http://svn.dsource.org/projects/dmd/branches/dmd-1.x/src dmd
cd dmd
make -f osx.mak
and it's a godsand - no more downloading 8 MB of unusable stuff (and obsolete because some patches are already in trunk).
*BTW*, i had to change #include "../mars/mars.h" to #include "../mars.h" in backend/dwarf.c and backend/machobj.c to compile it.