On 2011-12-11 23:14:48 +0000, Andrei Alexandrescu <seewebsiteforem...@erdani.org> said:

On 12/11/11 3:43 PM, Vladimir Panteleev wrote:
On Sunday, 11 December 2011 at 21:29:17 UTC, Andrei Alexandrescu wrote:
There's something missing from the download page (to which I just
added some nice logos):

http://www.d-programming-language.org/download.html

That would be an OSX .dmg. Is a member of the community interested in
taking up such a project?

Michel Fortin's D for Xcode installer has the option to download and
install DMD.

http://michelf.com/projects/d-for-xcode/

Michel, would you want to adapt and contribute your installer for pure D installation?

I could, but first you need to tell me how you want it installed. My installer creates a directory at /Library/Compilers/dmd and-or /Library/Compilers/dmd2 and installs the package from the zip file there. It then creates symlinks in /usr/local so dmd and the other tools are on your paths. It also installs a script that let you switch the symlinks between the two versions of dmd for D1 and D2 in case you have both installed. Also, for dmd itself, instead of a symlink it installs two tiny executables that executes dmd in /Library/Compilers/dmd{,2} (like a symlink would do) but also changes the path of argument zero so that it matches the new path (so that dmd finds its corresponding dmd.conf file).

So, how do you want dmd to be installed on OS X?

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to