porting-ecl.txi 779 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
@node Porting ECL
@section Porting ECL

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

@enumerate
@item Ensure that the GNU Multiprecision library supports this machine.
@item Ensure that the Boehm-Weiser garbage collector is supported by that architecture. Alternatively, port ECL's own garbage collector @code{src/c/alloc.d} and @code{src/c/gbc.d} to that platform.
@item Fix @code{src/aclocal.in}, @code{src/h/config.h.in} and @code{src/h/ecl.h} so that they supply flags for the new host machine.
@item Fix the machine dependent code in @code{src/c/}. The most critical parts are in the @code{unix*.d} and @code{thread*.d} files.
@item Compile as in any other platform.
@item Run the tests and compare to the results of other platforms.
@end enumerate