[Poll] On Linux, what should we commonly use as sub-directory name for D?

Iain Buclaw ibuclaw at ubuntu.com
Wed Nov 13 07:07:44 PST 2013


On 13 November 2013 13:53, Dicebot <public at dicebot.lv> wrote:

> On Wednesday, 13 November 2013 at 04:35:12 UTC, Jesse Phillips wrote:
>
>> I don't see why we need such sub-directories. The language doesn't seem
>> important to me.
>>
>> I also place the source under /usr/src since they actually aren't
>> headers/import files.
>>
>
> Mostly hygiene concerns. One of reasons why C headers are put into
> /usr/include is that it is default include location and it allows to to
> directly hit "#include <libheader>" after installing a package, with no
> explicit paths. Having similar standard location for D library modules is
> desired but FHS mandates it to be subdirectory of /usr/include (yes, those
> are import files for D). Making common subdirectory to avoid mixing with C
> stuff in filesystem is obvious next step.
>

That requires co-operation from upstream compiler projects... distributors
are free to have local patches by all means to force the compilers to look
in non-standard directories. ;-)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131113/6f3f6c28/attachment.html>


More information about the Digitalmars-d mailing list