DMD Mac installation instruction

digited digited at yandex.ru.removethis
Mon Apr 27 08:41:12 PDT 2009


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.



More information about the Digitalmars-d mailing list