DMD 1.029 and 2.013 releases (dmd2.conf)
Jesse Phillips
jessekphillips at gmail.com
Thu Apr 24 20:00:40 PDT 2008
On Fri, 25 Apr 2008 00:45:58 +0200, Anders F Björklund wrote:
> 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.
I agree here, I feel the compiler should do more distinction between v1
and v2.
More information about the Digitalmars-d-announce
mailing list