Chapter 6. Porting ECL

To port ECL to a new architecture, the following steps are required:

  1. Ensure that the GNU Multiprecision library supports this machine.

  2. Ensure that the Boehm-Weiser garbage collector is supported by that architecture. Alternatively, port ECL's own garbage collector src/c/alloc.d and src/c/gbc.d to that platform.

  3. Fix src/aclocal.in, src/h/ecl.h and src/h/ecl-cmp.h so that they supply flags for the new host machine.

  4. Fix the machine dependent code in src/c/. The most critical parts are in the unix* and thread* files.

  5. Compile as in any other platform.

  6. Run the tests and compare to the results of other platforms.