2. The Finalize Bigloo Library -- Building the Library

2.1 Obtaining the Library

You can download the source code for the library here.


2.2 Compiling the Library

The source code comes configured for compilation on Mac OS X. To compile for a different system, you will have to make some changes to the makefile:

  • You should change the LD and LDLIBS commands to something appropriate to building shared libraries on your system.
  • You should change the _lib.so suffix from .dylib to something appropriate to your system (there are four places you need to do this).

Once you have changed the Makefile, issuing the command make in the root directory of the package should compile the library. You should then move the lib directory to wherever you want to keep the library.


2.3 Compiling Bigloo with Finalizers

The file doc/README.finalizer in the Bigloo source distribution contains instructions for compiling Bigloo's garbage collector to support finalization. I think that the current default option is to enable finalization in all but the profiling GC library (I don't know why the profiling library is excluded).

README.finalizer basically tells you to remove all options -DFINALIZE_ON_DEMAND from runtime/Makefile and then compile Bigloo as usual.



This Html page has been produced by Skribe.
Last update Tue Sep 20 23:07:05 2005.