www.digitalmars.com         C & C++   DMDScript  

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

reply Manu <turkeyman gmail.com> writes:
--20cf307811d069644b04cc2d5011
Content-Type: text/plain; charset=UTF-8

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?

--20cf307811d069644b04cc2d5011
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I&#39;m trying to make an installer.<div>Easy for C, headers go in /usr/[lo=
cal/]include.</div><div>Where do D&#39;s imports go? I can&#39;t find a pla=
ce that DMD and GDC agree on... surely there should be one standard locatio=
n so packages can write installers?</div>


--20cf307811d069644b04cc2d5011--
Oct 16 2012
next sibling parent "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
prev sibling next sibling 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