SCons D support

H. S. Teoh hsteoh at quickfur.ath.cx
Thu May 10 22:27:46 PDT 2012


On Thu, May 10, 2012 at 10:13:53AM +0100, Russel Winder wrote:
[...]
> The dmd tool now works with dmd and gdmd.
[...]

After playing around a bit more, and looking at your code a bit more
carefully, now I'm wondering what's the correct way to specify a custom
path to DMD?

It seems that specifying DC='/path/to/dmd' doesn't work properly,
because the tool tries to auto-detect gdmd and dmd, and if gdmd is found
first, it will assume a gdc installation and attempt to link with
-lgphobos2.  Thence, changing DC manually does not change this
assumption, and as a result things will break when it tries to link dmd
objects with libgphobos2 instead of libphobos2.


T

-- 
The peace of mind---from knowing that viruses which exploit Microsoft system vulnerabilities cannot touch Linux---is priceless. -- Frustrated system administrator.


More information about the Digitalmars-d mailing list