www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD Mac installation instruction

reply Jacob Carlborg <doob me.com> writes:
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.
Apr 27 2009
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Apr 27 2009
parent digited <digited yandex.ru.removethis> writes:
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.
Apr 27 2009