D1/D2 co-install?

BCS none at anon.com
Sun May 17 20:15:18 PDT 2009


Hello Georg,

> BCS wrote:
> 
>> Does anyone have a good solution to installing both D1 and D2 on the
>> same system?
>> 
> ~$ cd /usr/local/digitalmars/
> digitalmars$ ls -l
> total 25216
> drwxr-xr-x 9 root  root     4096 2009-04-03 03:19 dmd1042
> -rw-r--r-- 1 root  root  7240365 2009-04-03 03:18 dmd.1.042.zip
> drwxr-xr-x 9 root  root     4096 2009-04-20 13:32 dmd2029
> -rw-rw-r-- 1 root  root  9353643 2009-04-20 13:30 dmd.2.029.zip
> digitalmars$ cd
> ~$ grep dmd .bashrc
> alias dmd1=/usr/local/digitalmars/dmd1042/linux/bin/dmd
> alias dmd2=/usr/local/digitalmars/dmd2029/linux/bin/dmd
> ~$
> Of course, using /home/georg/dcompilers/dmd1042 or whatever, would be
> the same, unless I want others to use D, too.
> 
> (The zip files aren't of course needed, but that's as good a place as
> any to store them if I don't want to delete them after unzipping.)
> 
> I don't add the dmd directories to the path, edit dmd.conf, or do
> anything else. Except, of course chmod +x dmd   :-)
> 

So the dmd.conf in the same dir just works? Sweet, last time I tried it it 
didn't.




More information about the Digitalmars-d-learn mailing list