Re: Dual installationof Euphoria (3.1.1 and 4.0 rc2)
- Posted by mattlewis (admin) Dec 22, 2010
- 1521 views
Jeremy:
I have 3.1.1 installed, which of course sets EUDIR and EUINC in the environment to point to the respective 3.1.1 directories. I would also like to install 4.0 rc2 on the same system (WINDOWS-XP), but if I do, I can not use the same environment names to point to the EU4 directory or include sub-directory. I know I can create a bunch of BAT files to reset the values of EUDIR ans EUINC each time I want to execute a 4.0 version file, but this gets to be a pain after awhile. My question is, is there an easy way to change version 4.0s's environment names to something other than EUDIR and EUINC permanently without having to completely rebuild version 4.0. That way, both 3.1.1 and 4.0 could coexist on the same system.
With 4.0, you really don't need environment variables. The easiest thing to do is to set up a eu.cfg file. You can put it in the euphoria\bin directory where the 4.0 binaries are. The key thing to put there is:
-i C:\euphoria-4.0\include(Or whatever the correct path is).
Matt