Building from source for ubuntu

monarch_dodra monarchdodra at gmail.com
Wed Jul 10 13:41:51 PDT 2013


On Wednesday, 10 July 2013 at 20:21:10 UTC, H. S. Teoh wrote:
> On Wed, Jul 10, 2013 at 09:40:57PM +0200, monarch_dodra wrote:
>> More questions related to running on ubuntu. I'd like to have 
>> side
>> by side installs of dmd. Eg 2.060, 2.061 ...
>> 
>> I installed using the downloadable packages.
>> 
>> dmd and rdmd are in /usr/bin
>> druntime and phobos are in dmd, which is in /usr/include
>> 
>> Currently, I have 2.063 installed, and would like to install 
>> 2.063.2
>> alongside. Is there a procedure for this?
>> 
>> I was thinking of moving the "dmd" dir into a versioned 
>> subdir, move
>> dmd and rdmd into some other subdir too. Then, I'd have to 
>> write a
>> corresponding dmd.conf for each.
> [...]
>
> How do you coax different versions of dmd to pick up a different
> dmd.conf file? The last time I tried it, all of them insisted 
> on reading
> /etc/dmd.conf, which, of course, only actually works for one.
>
>
> T

Didn't know that's where it was. I think it also reads the one
that is in the same directory as it, no?

That's how the zip packages work in any case.

That's what I decided to do anyways, just use the zips, and add a 
simlink to the latest version in /usr/bin


More information about the Digitalmars-d-learn mailing list