| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
28 Bigloo Libraries
Bigloo libraries are collections of global bindings (global variables and global functions). Bigloo libraries are built on the top of the host operating system (e.g. Unix) libraries. Because Bigloo uses modules, a library is not only a bundle of compiled codes and memory locations. A Bigloo library is split into several files:
- one heap that describes the variables and functions of the library.
- several host library files (safe and unsafe versions of the compilation and also eval libraries that contain the code that binds the variables and functions to the evaluator).
- possibly, C header files.
- possibly, an initialization file.
Let’s consider, for example, a library that implements the
format Common Lisp facility. Let’s suppose we name this library
bformat and that the library number is
1.0. Using a Unix machine, the Bigloo library will consist of
the following files:
-
bformat.heap: the heap file. -
bformat.init: the initialization file. -
libbformat_s-1.0.a,libbformat_s-1.0.so,libbformat_u-1.0.a,libbformat_u-1.0.so,libbformat_eu-1.0.so, andlibbformat_es-1.0.so:: the Unix library files. The file names with a_uare libraries compiled in unsafe and optimized mode. By convention the library using the_ssuffix are safe libraries,_pare profiling libraries,_ddebug libraries,_esand_eueval libraries. -
bformat.h: an include file.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on October 23, 2011 using texi2html 5.0.
