D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5594 - MODEL doesn't work the same way for DMD, Phobos and Druntime
Summary: MODEL doesn't work the same way for DMD, Phobos and Druntime
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 06:57 UTC by David Simcha
Modified: 2011-08-12 20:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Simcha 2011-02-16 06:57:23 UTC
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 Brad Roberts 2011-02-16 10:10:48 UTC
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 David Simcha 2011-08-12 20:31:48 UTC
Fixed with the new posix.mak makefile.