| 1 |
@node Porting ECL |
| 2 |
@section Porting ECL |
| 3 |
|
| 4 |
To port ECL to a new architecture, the following steps are required: |
| 5 |
|
| 6 |
@enumerate |
| 7 |
@item Ensure that the GNU Multiprecision library supports this machine. |
| 8 |
@item Ensure that the Boehm-Weiser garbage collector is supported by that architecture. Alternatively, port ECL's own garbage collector @file{src/c/alloc.d} and @file{src/c/gbc.d} to that platform. |
| 9 |
@item Fix @file{src/aclocal.in}, @file{src/h/config.h.in} and @file{src/h/ecl.h} so that they supply flags for the new host machine. |
| 10 |
@item Fix the machine dependent code in @file{src/c/}. The most critical parts are in the @file{unix*.d} and @file{thread*.d} files. |
| 11 |
@item Compile as in any other platform. |
| 12 |
@item Run the tests and compare to the results of other platforms. |
| 13 |
@end enumerate |