How can I use more packages ?

As the minimal distribution provides only the basic data structure, sooner or latter one will like to extend it with more advanced tools.

1.Adding a package to the distribution

Let us show, as an example, how the package numerix which provides extended arithmetic, can be added to the environment. Hereafter, we assume that we are in the folder build and that the source code is available in ../minimix. We also assume that the commands mmx-light and mmxmake are available (see how to install a minimal distribution).

mmxmake ../minimix +p numerix

The configuration files are updated accordingly. This package depends on two external libraries:

If they are not installed globally, the option EXTERNAL can be set ON to download and build them:

cmake ../minimix -DEXTERNAL=ON

Then the new libraries can now be built:

make

The library numerix can now be loaded in the interpreter mmx-light:

Mmx] 

use "numerix"

Mmx] 

122333344555^56

Mmx] 

2.Adding more packages

The other packages of the distribution can be added in a similar way, respecting the dependencies. A list of packages is available here.

For more information on how to update packages, see here.