Download latest version
The JEWL download directory is at http://www.it.brighton.ac.uk/staff/je/jewl/download. (Note that this has moved.)
The latest version of JEWL is version 1.7 which can be downloaded here (250902 bytes). This version has been fixed to work with the latest GNAT 2006 (Ada 2005) release.
gnatmake jewl-io.adbThis will generate .ali and .o files for each of the packages which make up the JEWL library.
set ADA_INCLUDE_PATH=C:\JEWL\source
set ADA_OBJECTS_PATH=C:\JEWL\source
(assuming that the path to the source subdirectory is C:\JEWL\source).
Other solutions are possible: for example, you can use the -I compiler
switch with the GNAT compiler. For details of how your compiler locates library
files, consult the documentation for the compiler.
gnatmake guess_me.adbIf you haven't used the ADA_INCLUDE_PATH and ADA_OBJECTS_PATH environment variables as described above, you can specify the path to the source subdirectory using the -I switch:
gnatmake -IC:\JEWL\source guess_me.adbIn most cases, you will want to use the -mwindows switch with the GNAT linker to specify that you are building a GUI program which does not perform any console I/O. Otherwise, a console window will be displayed in addition to the application window. For example, sketch.adb (a simple sketchpad) can be compiled using GNAT as follows:
gnatmake sketch.adb -largs -mwindowsThe -largs switch causes gnatmake to pass any following arguments to the linker. If -mwindows is not specified, a console window (which is not used) will be displayed behind the main window for the application.
Note that JEWL.IO generates console output, so if you are using this package you should not use the -mwindows switch.
|
|
|
Changes |
|
|
|
(Initial release.) |
|
|
|
|
|
|
|
|
|
|
|
This release saw a lot of changes:
|
|
|
|
|
|
|
|
|