See http://dsource.org/projects/ldc/wiki/OSXBuildInstructions
Macports to install llvm package (2.9). Then get the latest LDC (tip) from bitbucket mercurial repo, ccmake, adjust paths to match those of MacPorts (/opt/local).
Then build and install tango, as described in the link above.
Edit ldc.conf
switches = [
"-I/opt/local/include/d",
"-I/opt/local/include/d/tango/core/vendor",
"-L-L%%ldcbinarypath%%/../lib",
"-L-ltango",
"-d-version=Tango",
"-defaultlib=tango-ldc",
"-debuglib=tango-ldc"
];
Monday, October 31, 2011
Subscribe to:
Posts (Atom)