Forum Navigation
tango phobos switching script
Posted: 11/23/07 12:06:58 Modified: 11/23/07 12:56:24Hi,
I just made a little bash script for switching between tango and phobos (for dmd + posix). It's only really a convenience script since it relies on only having to swap between two dmd.conf files.
This is just for whoever may find it useful; there's a short hint at how to achieve such a setup at the beginning of the script. Basically install tango as per the instructions, but use a separate import directory for phobos and tango and a third for common contents, and make sure both libraries are in your lib folder.
Can't see a way of attaching a file here so I'll link to my my website: http://diggory.hardy.googlepages.com/dmd-switch
EDIT: Made a few improvements. If you use a build tool like dsss, make sure it recognises the common import dir as "the" import dir, otherwise it will try to use one of the others even when you don't want it.