The root of the OpenMCL source hierarchy is a directory named ccl
; the CVS project and source/binary tar.gz distributions are all intended to create (or overwrite) a ccl
directory in the working directory.
The lisp kernel sources reside in ccl/lisp-kernel
.
The OpenMCL kernel for LinuxPPC ("ppccl") can be bult with the following standard Linux/GNU development tools:
cc
- the GNU C compiler (any recent version)
ld
- the GNU linker (any recent version)
m4
- the GNU m4 macro processor (any recent version)
as
- the GNU assembler (version 2.10.1 or later)
Some of the assembly language kernel sources use constructs that aren't recognized by earlier versions of GNU as
; you can determine the version of the installed as
on your system by calling:
% as --version
in the shell. A copy of GNU as
is available at ftp://clozure.com/pub/gas-2.10.1 ; you could also consider checking your LinuxPPC distribution to see if a newer version of the binutils
package is available (or obtaining the binutils
sources from a GNU mirror site.)
ccl/lisp-kernel/linux/Makefile
defines a makefile variable named GAS as "gas-2.10.1"; change this definition to refer to the apropriate version of GNU as
.
With that definition in place, do:
% cd ccl/lisp-kernel/linux % make
That'll assemble several assembly language source files, compile several C source files, and link ../../ppccl.