Installation |
![]() ![]() |
-
ISE Eiffel:
Make sure you have ISE Eiffel installed and that its binary directory is included in your PATH environment variable. Specifically make sure that the program 'ec' is startable from your command line prompt.
-
Gobo:
Make sure you have at least Gobo 3.4 installed. Make sure the Gobo tools are available from your path. Try it by executing 'geant' on the command line. You will have to have the GOBO environment variable point to your Gobo installation and GOBO_EIFFEL has to be set to 'ise'.
-
Set the environment variable ERL_G to where you unpacked Erl-G to. Set
the PATH variable to include the 'bin' directory of Erl-G. For
example on windows:
set ERL_G=c:\erl_g set PATH=%PATH%;%ERL_G%\bin
On Linux:
export ERL_G=/home/aleitner/erl_g export PATH=$PATH:$ERL_G/bin
Make sure that the name of the path that points to your Erl-G installation does not contain any spaces.
-
Compile Erl-G (the generator)
This step is only necessary if you obtained a non binrary Erl-G package.
On Windows:
cd %ERL_G% geant install geant compile
On Linux:
cd $ERL_G geant install geant compile
-
Examples
Go to the 'hello_world' example and follow the instructions from the file 'readme.txt' in the examples directory.
To make your own system reflectable just adjust the build.eant and system.xace file to your needs. To use Erl-G it is recommended but not required to use the Gobo build tools (geant and gexace). If you want to use Erl-G without the Gobo build tools just run 'erl_g' to learn about its command line interface.
![]() ![]() ![]() ![]() |