| Thread overview | |||||
|---|---|---|---|---|---|
|
April 27, 2009 DMD Mac installation instruction | ||||
|---|---|---|---|---|
| ||||
The installation instructions for dmd mac, at http://www.digitalmars.com/d/1.0/dmd-osx.html, says to put dmd.conf in /etc but it seems that it doesn't work. I recommend changing that to: put the dmd.conf in the same directory as dmd. | ||||
April 27, 2009 Re: DMD Mac installation instruction | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | Jacob Carlborg wrote:
> The installation instructions for dmd mac, at http://www.digitalmars.com/d/1.0/dmd-osx.html, says to put dmd.conf in /etc but it seems that it doesn't work. I recommend changing that to: put the dmd.conf in the same directory as dmd.
/etc/dmd.conf is disabled on Mac OS X and FreeBSD...
if (FileName::exists(filename))
goto Ldone;
}
For linux [sic], it looks in /etc if not with argv0.
if (!filename)
goto Letc; // argv0 not found on path
--anders
| |||
April 27, 2009 Re: DMD Mac installation instruction | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund Wrote:
> Jacob Carlborg wrote:
> > The installation instructions for dmd mac, at http://www.digitalmars.com/d/1.0/dmd-osx.html, says to put dmd.conf in /etc but it seems that it doesn't work. I recommend changing that to: put the dmd.conf in the same directory as dmd.
>
> /etc/dmd.conf is disabled on Mac OS X and FreeBSD...
>
> if (FileName::exists(filename))
> goto Ldone;
> }
>
> For linux [sic], it looks in /etc if not with argv0.
>
> if (!filename)
> goto Letc; // argv0 not found on path
>
> --anders
I've successfully installed dmd & tango on osx 10.5.6: I've put dmd.conf in /etc, libs in /usr/lib and sources in /usr/share/d (or maybe in /usr/local/share/d) and writed it to dmd.conf, all works fine.
I also chmod'ed dmd to 775, maybe that helped.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply