Bug 2908 – Build error: ../mars/mars.h doesn't exist

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-04-28T13:45:00Z
Last change time
2015-06-09T01:18:23Z
Keywords
patch
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2009-04-28T13:45:41Z
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.
Comment #4 by dsimcha — 2009-12-05T18:24:19Z
Fixed 2.036.