DMD 1 & 2 coexisting

Daniel Keep daniel.keep.lists at gmail.com
Thu Jul 23 19:48:00 PDT 2009



Adam D. Ruppe wrote:
> On Fri, Jul 24, 2009 at 02:31:31AM +0000, Jesse Phillips wrote:
>> I have come across only one issue in using this system, dmd.conf. DMD 
>> will look in /etc/ or the location of the executable. 
> 
> If you use my installation method - just plain unzip it, this isn't a problem.
> dmd will use the .conf file that it brought with it in the zip file.
> 
> Then, you use a helper script somewhere in your PATH that is just two lines:
> 
> #!/bin/bash
> /lib/ld-linux.so.2 /path/to/where/you/unzipped/dmd/dmd2/linux/bin/dmd $*
> 
> 
> You could potentially make that unzip path a variable of some sort for
> easy overriding.

I'm on Windows and I just have a folder that all my compilers go into,
each with a unique name.

I have a project that's locked at 1.027, Tango 0.99.8 with 1.035, Tango
trunk and dir-reorg with 1.046 plus a smattering of D 2.x compilers.



More information about the Digitalmars-d mailing list