Mac OSX installer for dmd
Leandro Lucarella
luca at llucax.com.ar
Wed Aug 4 14:56:31 PDT 2010
Walter Bright, el 4 de agosto a las 12:41 me escribiste:
> Andrei Alexandrescu wrote:
> >Walter Bright wrote:
> >>Michel Fortin wrote:
> >>>As a side note, my D plugin for Xcode expects DMD to be
> >>>available at /usr/local/bin/{dmd,dmd1,dmd2} and the runtime
> >>>libraries should be in /usr/local/lib. It won't work if the
> >>>files can't be found there, although I might change that if an
> >>>official distribution of DMD installs itself elsewhere.
> >>
> >>To me, the biggest problem is deciding where the files should
> >>go. There doesn't seem to be any consensus or culture in OS X
> >>about this.
> >
> >Since we're talking about a Unix command-line utility, I suggest
> >we go with the Unix traditional directories.
>
> Which are what, for:
I'd say:
> dmd
/usr/local/bin
> libphobos
/usr/local/lib
> phobos imports
/usr/local/include/d (d is just a suggestion, since at least
Debian/Ubuntu uses that, well, without the "local" because are official
packages, for gdc and ldc).
And you may add /usr/local/etc as a search path for dmd.conf (and look
for it *before* /etc is searched) and install dmd.conf there.
Main reference:
FHS: /usr/local Local hierarchy:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY
Some other references:
FHS: http://www.pathname.com/fhs/pub/fhs-2.3.html
LSB: http://www.linuxfoundation.org/collaborate/workgroups/lsb (yes,
Linux only)
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
3 people die every year, testing if a 9 volts battery works on their tongue
More information about the Digitalmars-d
mailing list