Online Eiffel Documentation |
Documentation Home > Tools > EiffelStudio > EiffelStudio Reference > Compiler > Dynamic library generation |
EiffelStudio |
Dynamic library builder |
In order to facilitate the creation of C dynamic libraries using EiffelStudio, a wizard helps generate the definition files used to define the contents of the shared library. If for some reason you need to override the wizard, the syntactic rules of the definition files are available, but their knowledge is not necessary to use the generation of dynamic libraries in EiffelStudio.
The wizard is accessible in the Tools/ Dynamic library builder menu.
The dynamic library window that appears when selecting this menu is mainly composed of a list which contains all features that should be exported. This list is course empty at first.
Note: The layout of this wizard is slightly different on Windows and on Unix systems, because the index and calling convention fields never appear on Unix systems.
To add a new feature to the definition file, you can either:
Other commands of the Edit menu allow you to remove exported features or to modify their export parameters
.
It is also possible to check the validity of the definition file. This commandperforms both a global check, to ensure that for example two features do not have the same name or same index in the library, and also local checks, that check for each feature that the parameters are valid.
Other commands, located in the File menu, give standard file operations, such as opening a definition file, creating a new definition file
,or saving the current definition file
.
Tip: Although the wizard can handle several files during the same EiffelStudio session, remember that only one file can be used in the project settings to effectively generate a shared library.
Copyright 1993-2006 Eiffel Software. All rights reserved. |