How to compile examples using Gobo
Most of the examples and tutorials you will find here come with an archive containing the source code and the files required to compile the code. Here you will find the information required to use the examples together with Gobo.
See to the Gobo documentation for installation instructions.
Obtaining the Example
When you want to compile an example, first download the archive and extract it on your computer. You can choose between a zip or tar.gz archive, both contain the same files.
File types explained
A typical example is shipped with multiple files:
- .e files: The Eiffel source code.
- .xace file: Configuration file for the Gobo tools. This is used by the gexace tool from Gobo.
- .eant file: Eiffel Ant file. This file is used with the geant tool from Gobo.
Open the directory of the example in a console and type:
geant compileAfter the compilation is finished the executable is in the directory of the example.