Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.


1.1.2 Compilation

Once the file is saved (preferably in the RAM disk, since it's only a small program), you can use the E compiler to turn it into an executable program. All you need is the file `ec' in your `C:' directory or somewhere else on your search path (advanced users note: we don't need the `Emodules:' assignment because we aren't using any modules). Assuming you have this and you have a Shell/CLI running, enter the following at the prompt after changing directory to where you saved your new file:

ec simple

If all's well you should be greeted, briefly, by the E compiler. If anything went wrong then double-check the contents of the file `simple.e', that your CLI is in the same directory as this file, and that the program `ec' is in your `C:' directory (or on your search path).


Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.