www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - make install; where do .di files go?

reply Manu <turkeyman gmail.com> writes:
I'm trying to make an installer.
Easy for C, headers go in /usr/[local/]include.
Where do D's imports go? I can't find a place that DMD and GDC agree on...
surely there should be one standard location so packages can write
installers?
Oct 16 2012
next sibling parent reply "Matt" <webwraith fastmail.fm> writes:
On Tuesday, 16 October 2012 at 13:41:49 UTC, Manu wrote:
 I'm trying to make an installer.
 Easy for C, headers go in /usr/[local/]include.
 Where do D's imports go? I can't find a place that DMD and GDC 
 agree on...
 surely there should be one standard location so packages can 
 write
 installers?

If I remember correctly, you should try looking around /usr/include, but it's been a while since I fired up my Ubuntu laptop, so I could be wrong
Oct 17 2012
parent "Matt" <webwraith fastmail.fm> writes:
On Wednesday, 17 October 2012 at 09:58:42 UTC, Matt wrote:
 On Tuesday, 16 October 2012 at 13:41:49 UTC, Manu wrote:
 I'm trying to make an installer.
 Easy for C, headers go in /usr/[local/]include.
 Where do D's imports go? I can't find a place that DMD and GDC 
 agree on...
 surely there should be one standard location so packages can 
 write
 installers?

If I remember correctly, you should try looking around /usr/include, but it's been a while since I fired up my Ubuntu laptop, so I could be wrong

God, now I feel really damn stupid...
Oct 17 2012
prev sibling parent "Matt" <webwraith fastmail.fm> writes:
Having loaded up my other laptop for the first time in ages, I've 
found that most of my D files, including Phobos, are stored in 
usr/local/include/d
Oct 17 2012