make install; where do .di files go?

David Nadlinger see at klickverbot.at
Tue Oct 16 09:20:39 PDT 2012


On Tuesday, 16 October 2012 at 16:08:35 UTC, David Nadlinger 
wrote:
> 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.

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.

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.

David


More information about the Digitalmars-d mailing list