On 2010-08-05 14:29, Michel Fortin wrote:
On 2010-08-05 07:14:19 -0400, Jacob Carlborg <[email protected]> said:
I would vote for something like this, making it easy to have dmd and
dm2 installed side by side and to easily manually update the compiler
to a newer version. I would name the trampoline programs dmd1 and dmd2
and then make a symlink named dmd pointing to dmd1 or dmd2.
The D for Xcode installer does all this and also installs a small
command to easily change which version the dmd symlink points to:
$ sudo setdmd 1
$ dmd -v
Digital Mars D Compiler v1.062
...
$ sudo setdmd 2
$ dmd -v
Digital Mars D Compiler v2.047
...
Forgot about that one, it's really nice to have.
--
/Jacob Carlborg