.dmg installer for OSX?

Walter Bright newshound2 at digitalmars.com
Sun Dec 11 19:36:47 PST 2011


On 12/11/2011 7:19 PM, Michel Fortin wrote:
> 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?


I don't know - except that it ought to conform to the "Mac Way" of doing things.



More information about the Digitalmars-d mailing list