Bug 5594 – MODEL doesn't work the same way for DMD, Phobos and Druntime

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-02-16T06:57:00Z
Last change time
2011-08-12T20:31:48Z
Assigned to
nobody
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2011-02-16T06:57:23Z
To build DMD as a 64-bit binary: make -flinux.mak MODEL=-m64 To build Phobos or Druntime as 64-bit: make -fposix.mak MODEL=64 These are not consistent and should be.
Comment #1 by braddr — 2011-02-16T10:10:48Z
Worth noting, you don't need to build dmd as a 64 bit binary to have it generate 64 bit output. I do agree that consistency would be good. While fixing inconsistencies, there's a similar one for building phobos between the posix and win32 make files. posix.mak uses DRUNTIME_PATH and win32.mak uses DRUNTIME.
Comment #2 by dsimcha — 2011-08-12T20:31:48Z
Fixed with the new posix.mak makefile.