DMD 1.029 and 2.013 releases (dmd2.conf)
Anders F Björklund
afb at algonet.se
Thu Apr 24 15:45:58 PDT 2008
Walter Bright wrote:
> http://ftp.digitalmars.com/dmd.1.029.zip
...
> http://ftp.digitalmars.com/dmd.2.013.zip
I wanted to install both of dmd and dmd2,
but they both wanted to use /etc/dmd.conf
So I modified my setup, so that dmd2 would
instead read dmd2.conf which had phobos2...
I moved /usr/bin/dmd2 over to another dir,
I called mine "dmd2": /usr/libexec/dmd2/dmd
In that directory I created a symlink file:
/usr/libexec/dmd2/dmd.conf -> /etc/dmd2.conf
And then I set up a shell wrapper for "dmd2",
that would call the relocated binary instead:
#!/bin/sh
exec /usr/libexec/dmd2/dmd "$*"
So now I can have my old D1 configuration in
dmd.conf and my D2 configuration in dmd2.conf.
And have both RPM packages installed at once,
without the file conflicts on /etc/dmd.conf.
Maybe something for the compiler to do too ?
(at least look for dmd2.conf before dmd.conf)
--anders
PS.
wxD is now tested OK with DMD 1.029 and 2.013
At least on Linux, as usual Windows is left...
"make DC=dmd" and "make DC=dmd2", respectively.
More information about the Digitalmars-d-announce
mailing list