installing Phobos and Tango

Vladimir Panteleev thecybershadow at gmail.com
Mon Aug 13 11:32:22 PDT 2007


On Mon, 13 Aug 2007 18:20:59 +0300, BCS <ao at pathlink.com> wrote:

> What is the current best reactance for installing phobos and tango at the
> same time?
>
> I really don't want to have to maintain a VM just to keep both setups alive
> and happy. <g>

I believe there is a Windows utility bundled with Tango, called revert.exe (or was it renamed to switch.exe?). It detects your current library based on the .lib file, and renames some files like this:

lib\tango_phobos.lib  => lib\phobos.lib  <=  lib\dmd_phobos.lib
bin\build.cfg.tango  <=> bin\build.cfg   <=> bin\build.cfg.phobos
bin\sc.ini.tango     <=> bin\sc.ini      <=> bin\sc.ini.phobos

Or something like that. Check the source if you're dubious (SVN path is install/windows/switch.d).
Anyway, I made a tango.bat and phobos.bat, which call revert with the corresponding parameter. It works very well, combined with a similar system for switching between DMD 1.x/2.x (this time using symlinks, much like Lutger's method).

-- 
Best regards,
  Vladimir                          mailto:thecybershadow at gmail.com



More information about the Digitalmars-d mailing list