Talk:Building DMD

From D Wiki
Revision as of 13:10, 22 December 2012 by Jkm (talk | contribs) (Created page with "== A sample dmd.conf == I created a sample dmd.conf. This should help the TBD. <syntaxhighlight lang=ini> [Environment] DFLAGS=-I%@P%/../../phobos -I%@P%/../../druntime/imp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A sample dmd.conf

I created a sample dmd.conf. This should help the TBD.

[Environment]

DFLAGS=-I%@P%/../../phobos -I%@P%/../../druntime/import -L-L%@P%/../../phobos/generated/linux/release/64/ -L-L%@P%/../lib64 -L-L%@P%/../lib32 -L--no-warn-search-mismatch -L--export-dynamic

This file needs to be put in dmd/src. There is one caveat. The file contains platform specifics, namely linux/release/64/. I do not know of a good way around this.