Bigloo Sources

Older Bigloo source files are all available bundled in tarball files at: ftp://ftp-sop.inria.fr/indes/fp/Bigloo

Debian

Pre-compiled Bigloo version are available for Linux Debian and some of its variants. This version can be installed using the standard package managers of these distributions after the appropriate hop.list file has been created in the /etc/apt/sources.list directory.

The Debian packages are all installed in the /opt/hop directory.

Debian

Debian Buster/x86_64 users can installed pre-compiled versions with:

echo "deb [trusted=yes] http://hop.inria.fr/linux/Debian buster hop" > /etc/apt/sources.list.d/hop.list

Raspberry

Raspberry Buster/Arm users can install pre-compiled packages for with:

echo "deb [trusted=yes] http://hop.inria.fr/linux/Raspbian buster hop" > /etc/apt/sources.list.d/hop.list

Ubuntu

Ubuntu LTS 20.04/x86_64 users and Windows WSL can installed pre-compiled versions with:

echo "deb [trusted=yes] http://hop.inria.fr/linux/Ubuntu focal hop" > /etc/apt/sources.list.d/hop.list

Homebrew

For OS X users, as well as Linux users, Bigloo can be installed via the homebrew package system. For that, issue the following shell commands:

brew tap homebrew/hop https://gitlab.inria.fr/mserrano/hopbrew.git
brew install homebrew/hop/bigloo-latest

Bigloo Installation Notice

Here is the procedure for compiling and installing BIGLOO on a Unix system.

Postscript and HTML version of the Bigloo documentation can be found at: http://www.inria.fr/indes/fp/Bigloo

Requirements

 $ unlimit

Summary

$ ./configure
$ make
$ make test
$ make compile-bee
$ make install
$ make install-bee
$ make fulltest

On an Xeon E5-1650 running Linux 5.3, this whole procedure lasts about 2 to 3 minutes.

Here are detailed each of these steps.

Configuring Bigloo

./configure`

./configure <your-other-options> --bee=full

Compiling Bigloo

Type:

make

In addition to the compiler, several tools are also compiled during that step:

Testing Bigloo

Now Bigloo is ready to be used but if you want to make the initial test, type:

make test

The compilation will produce warning messages on several files. The JVM execute will produce error messages. This is normal (the recette tests the capacity of the compiler to emit warning messages on suspicious expressions).

This entry will test all configured back-ends.

On MacOSX not all tests can be executed before Bigloo is fully install. Once installed, the extra tests can be executed with:

make c-api-test

Compiling Bee

Bee is the Bigloo Integrated Environment. To compile it:

make compile-bee

This compilation will produce several warnings that can be safely ignored.

The BEE contains the following tools:

In addition, the BEE compiles the standard Bigloo librarie in two additional modes: debugging and profiling.

The compilation of some files (e.g. cigloo/Parser/parser.scm and cigloo/Parser/cpp.scm) will produces warning message. Ignore these messages and rest in peace.

Note: the emacs package requires GNU-EMACS21 or XEMACS20.4 or more recent. If you don't have that version of GNU-EMACS or XEMACS installed, install it or you won't benefit from the full BEE power. GNU-EMACS can be downloaded from: http://www.emacs.org/ XEMACS can be downloaded from: http://www.xemacs.org/

Installing

Type

make install

Note: on some architecture you will be needing to tell the loader where to find the Bigloo shared library. This can be done two ways:

export LD_LIBRARY_PATH=/usr/local/lib/bigloo/<VERSION>:$LD_LIBRARY_PATH

This is not required on Linux nor Digital Unix but it is required on SunOs and Solaris.

Installing the Bee

make install-bee

(if (locate-library "bmacs") (require 'bmacs))

Note Xemacs21 requires the SUMO distribution otherwise important packages are missing. If you are still missing the sound file bass-snap.au, you can pick up the version in bigloo/bmacs/etc/bass-snap.au.

Testing Cigloo

Uninstalling Bigloo

In order to uninstall Bigloo and the Bee, type: make uninstall

Cleaning Bigloo

Once, installed, you can type: make clean to remove all the useless files.

Unconfiguring Bigloo

If you plan to re-install Bigloo on a new platform. Before performing the all installation process (step 1 to 8) you must first remove the current configuration. For this type:

make distclean