Online Eiffel Documentation |
Documentation Home > Technologies > CECIL |
EiffelStudio |
Compiling an Eiffel system for CECIL |
To do this, make the appropriate features and classes visible.
To produce a CECIL library, you must: open a shell (unix) or the MS-DOS prompt (Windows), go to the subdirectory that contains the Makefile, and then type:
make cecil (on unix and on windows with Borland) nmake cecil (on windows with VC++)
This generates a CECIL archive whose name derived from the name system name of the Eiffel system, as follows:
lib<system name>.a (on unix) lib<system name>.lib (on Windows)For example, the corresponding archive for an Eiffel system called "test", would be called either "libtest.a" (Unix) or "libtest.lib" (Windows).
Note that through CECIL you can use an Eiffel system compiled in any of the Eiffel compilation modes:
Note: each time you melt the Eiffel system, the <system name>. melted file is updated.
Caution: in the second case (workbench mode), it is not possible to call through the CECIL interface any routine that has been melted in the last compilation; this would raise the run-time exception:
$ applied to melted routine
The solution is simply to refreeze the system.
Copyright 1993-2006 Eiffel Software. All rights reserved. |