Using libraries
There are two kinds of libraries in Eiffel: precompiled Eiffel libraries and C libraries.
To use an Eiffel precompiled library:
- Open the Project Settings dialog.
- Add a new precompile group to your target.
- You must recompile your project from scratch for the changes to take effect.
Note: You can only use one precompiled library at a time in a project. To use more than one, you should precompile all the libraries you want to use together in a single precompiled library.
To use a C library:
- Open the Project Settings dialog.
- Add an include external for the directory where the header files needed to use the library are.
- Add an object external for each object file needed to use the library. These files can be either library files (.lib, .a, etc) or object files (.obj, .o, etc)
- Click OK.
- You must recompile your project for the changes to take effect.
See Also:
Creating libraries
Adding classes and clusters from Eiffel libraries without precompiling the library
Making C calls in Eiffel
Back to Compiling
cached: 12/11/2025 7:54:59.000 PM