Compiling DMD's source code in Mac OSX

Jonathan M Davis jmdavisProg at gmx.com
Fri Mar 30 00:08:17 PDT 2012


On Friday, March 30, 2012 14:53:33 Ary Manzana wrote:
> On 3/30/12 9:53 AM, Jonathan M Davis wrote:
> > On Friday, March 30, 2012 09:15:11 Ary Manzana wrote:
> >> Hi,
> >> 
> >> Does anyone have a build script or something similar for compiling DMD
> >> under Mac? I cloned the repo but all I can see is a win32.mak file. I
> >> renamed it to Makefile and tried make but no luck.
> >> 
> >> I don't have much experience with make or makefiles.
> > 
> > Use posix.mak.
> > 
> > make -f posix.mak
> > 
> > should work (with MODEL=64 if you want the 64-bit build).
> > 
> > - Jonathan M Davis
> 
> Thanks Jonathan!
> 
> Is there any change to put this in the readme file, in another file
> (build.txt?) or in the wiki in github? (I see the wiki is disabled... T_T)

You can always create a pull request if you think that something needs to be 
changed.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list