##############################################################
The docs below are old.

just do a "make" or "make all" to make all the stuff
do "make compiler" to make just the new compiler
do "make clean" to clean up the mess.
(you still need to compile the c files yourself. make has a
problem with circular dependencies :-) )

copy setenv-no-pcl.lisp to setenv.lisp before you start!
don't forget to set the symbolic link to the right image in
/usr/lib/cmucl

If you need to bootstrap a new release do a "make l4"
followed by a "make after-l4". This only works if
float-propagation is turned _off_.

Note that some releases of binutils use a 64 bit format.
You might try linux64 in this case.

have fun....
##############################################################
Building CMU is quite a struggle.  The c core depends on
internals.h. The building of the c core generates lisp.nm.  The
building of the kernel.core needs lisp.nm and generates internals.h.
Nice deadlock ain't it.

Change the paths in setenv.lisp, if needed.  Go to
/usr/src/cmucl/x86/lisp/, then do:

rm *.o lisp lisp.nm kernel.core version Depends 
touch Depends 
make depend 
make

This generates lisp.nm. Then go to to /usr/src/cmucl/ and do: 
lisp -load make-header.lisp 

And then you rebuild the c core and check if lisp.nm hasn't changed,
if it has you rebuild c and then again do make-header. diff -u comes
in handy. 

Then you do, in /usr/src/cmucl: (with script if you want to check for
errors)

lisp -load do-build

this generates x86/lisp/kernel.core without pcl, check this in
setenv.lisp.  then do: 

./x86/lisp/lisp -core x86/lisp/kernel.core
...noise...

type: (load "finish")

this generates a lisp.core in /usr/src/cmucl/ with the options
from setenv.lisp.

Now you can build pcl with do-pcl, modify setenv and create a new
lisp.core with finish.

Then use the kernel _with_ pcl to build clx,hemlock,and clm with
do-clx-clm-hem. This creates library files, to be placed in
/usr/lib/cmucl/subsystems/.

Keep the kernel without pcl if you want to compile a new version of
the kernel. There are problems with compiling pcl with a lisp that
already has pcl. Look for :bootstrap in the sources if you are
interested. 

That's all folks....

Peter Van Eynde
