4.8 Porting ECL
To port ECL to a new architecture, the following steps are required:
- Ensure that the GNU Multiprecision library supports this machine.
- 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.
- Fix src/aclocal.in, src/h/config.h.in and src/h/ecl.h so that they supply flags for the new host machine.
- Fix the machine dependent code in src/c/. The most critical parts are in the unix*.d and thread*.d files.
- Compile as in any other platform.
- Run the tests and compare to the results of other platforms.