Re: EUDIR, EUINC ??
- Posted by mattlewis (admin) Nov 07, 2011
- 1492 views
The Euphoria manual, under:
2.1.1 Windows
2.1.2 Linux and FreeBSD
does not explain how to set up EUDIR and EUINC, at least not in a way I can understand. I could use examples.
Under 2.1.1 Windows, maybe it should be explained for wine.
I had these things working a long time ago, but I don't remember how.
For 4.0, you really should be using eu.cfg files. Take a look at 2.3 Set Up the Euphoria Configuration File.
For something like Wine, the easiest thing to do is to put the eu.cfg in the same directory as your binaries (eui.exe, euiw.exe, euc.exe, etc).
The most important thing is generally to point to the standard library with an -i switch. Also, you'll probably want to add the path to the translator library. So, a simple example eu.cfg for Wine might look like:
[all] -i z:\home\jerry\euphoria\include [translate] -gcc -lib z:\home\jerry\euphoria\bin\eu.a
Matt