www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10222] New: Instructions for building dmd and Phobos on OSX are wrong

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10222

           Summary: Instructions for building dmd and Phobos on OSX are
                    wrong
           Product: D
           Version: D2
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: redballoon36 gmail.com


--- Comment #0 from Paul O'Neil <redballoon36 gmail.com> 2013-05-31 20:35:00
PDT ---
The instructions for building dmd and Phobos on OSX
(http://dlang.org/dmd-osx.html) say to use the makefile "osx.mak".  This file
doesn't exist anywhere.  Using "posix.mak" instead seems to work for Phobos.

In the dmd instructions, there are more problems.  The instructions currently
are:

cd ~/dmd2/src/dmd
make -f osx.mak

In the dmd source tree, src/dmd is an executable, not a directory.  Running
make -f posix.mak doesn't do anything.  There is an Xcode project in the top
level directory that does the make -f posix.mak and doesn't produce a binary.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 31 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10222


Jacob Carlborg <doob me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob me.com


--- Comment #1 from Jacob Carlborg <doob me.com> 2013-06-01 01:49:20 PDT ---
Running:

$ cd dmd/src
$ make -f posix.mak

Does work and produces and executable. The Xcode project also produces an
executable, at least for me. The executable will be located at dmd/src/dmd.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 01 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10222



--- Comment #2 from Paul O'Neil <redballoon36 gmail.com> 2013-06-01 09:35:39
PDT ---
(In reply to comment #1)
 Running:
 
 $ cd dmd/src
 $ make -f posix.mak
 
 Does work and produces and executable. The Xcode project also produces an
 executable, at least for me. The executable will be located at dmd/src/dmd.
So.. I forgot to run make clean before trying to build just before I filed the bug, then I mistook the "Nothing to do, because it's done" message for "Don't know what to do". So that part works. Sorry about that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 01 2013