>>>>> "rif" == rif <[EMAIL PROTECTED]> writes:
rif> I'm trying to build CMUCL from the April snapshot sources.
I assume you're building current CVS from the April snapshot? If so,
this won't work. You need to do a cross-compile.
rif> (Side note: In this section, all the commands are given as if they
rif> were being run in the src/tools subdirectory --- names likes
rif> ./create-target.sh are given. I tried this and it didn't work, I had
rif> to work up above the src directory, and give names like
rif> ./src/tools/create-target.sh. This could well be part of my
rif> problem...)
Yes, that's a mistake in the documentation. I'll fix that. You are
doing it correctly.
rif> What am I missing?
A cross-compile. :-(
This isn't explained very well. I'll update that with something
better. But here is what basically what did just yesterday to create
a sparc version with Cheney GC instead of gencgc.
1. Create a directory for the cross-compiler:
src/tools/create-target.sh xcross <other options>
2. Create a directory for the target:
src/tools/create-target.sh xcross <other options>
3. Build the cross compiler and target:
src/tools/cross-build-world.sh xtarget xcross \
src/bootfiles/18e/boot23-sxhash.lisp <april lisp>
I'm not sure but you may also need to edit xtarget/bootstrap.lisp
and add the following lines to it:
(load "target:bootfiles/18e/boot22")
(load "target:bootfiles/18e/boot24")
4. Rebuild the lisp files:
src/tools/rebuild-lisp.sh xtarget
5. Build the world:
src/tools/load-world.sh xtarget <label>
You may get into the debugger when doing this. The first on is an
error about OLD-X86 package already existing. Ignore it and
continue. Then you will probably get a not about PCL not
existing. Select restart 3, which is to return NIL from pclload
or something. (Yes, these should be fixed.)
At this point xtarget/lisp/lisp will be your shiny new cross-compiled
Lisp.
If you want to verify that it works, you can now follow the directions
for a normal compile, and use the xtarget/lisp/lisp as the compiler to
compile up your current cmucl code.
I hope this helps. Please ask again if you run into troubles,
Ray