Compiling DMD's source code in Mac OSX

Jonathan M Davis jmdavisProg at gmx.com
Thu Mar 29 18:53:58 PDT 2012


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


More information about the Digitalmars-d-learn mailing list