Thread overview
[Issue 5594] New: MODEL doesn't work the same way for DMD, Phobos and Druntime
Feb 16, 2011
David Simcha
Feb 16, 2011
Brad Roberts
Aug 13, 2011
David Simcha
February 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5594

           Summary: MODEL doesn't work the same way for DMD, Phobos and
                    Druntime
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dsimcha@yahoo.com


--- Comment #0 from David Simcha <dsimcha@yahoo.com> 2011-02-16 06:57:23 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 16, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5594


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |braddr@puremagic.com


--- Comment #1 from Brad Roberts <braddr@puremagic.com> 2011-02-16 10:10:48 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5594


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from David Simcha <dsimcha@yahoo.com> 2011-08-12 20:31:48 PDT ---
Fixed with the new posix.mak makefile.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------