On 16 October 2012 19:20, David Nadlinger <see@klickverbot.at> wrote:
On Tuesday, 16 October 2012 at 16:08:35 UTC, David Nadlinger wrote:Just to clarify: For LDC, -L-L$PREFIX/include/d _is_ included in the default configuration file, but the compiler doesn't automatically add the path internally.
Just add -L-L/usr/local/include to your dmd.conf. LDC also doesn't look there by default, and I see little reason to change this.
The reason for this is simple: In some situations, you do _not_ want your compiler to go looking in some hard-coded directory, so we would have to add an extra switch to disable that behavior. And with two versions of D being around, and $PREFIX often being what a D1/Tango installation defaults to as well, those situations aren't as uncommon as one might think at first.