From: Gabriel D. R. <gd...@in...> - 2010-10-19 08:06:39
|
On Tue, Oct 19, 2010 at 2:37 AM, Nikodemus Siivola <nik...@ra...> wrote: > On 19 October 2010 09:08, Gabriel Dos Reis <gd...@in...> wrote: >> I am not particularly attached to CCL (I am a bit to SBCL though :-) >> but it is currently the only Lisp systems that seems to have a pretty >> "simple" bootstrapping system that starts form a C compiler and on >> the major platforms I have access to and that I care about. SBCL is > > This is not actually true, as far as I understand it. Someone with > better knowledge of CCL should feel free to correct me, but I'm > reasonably certain it does NOT bootstrap from the C-compiler, but > rather the sources come with a bootstrap binary included. You can bootstrap from the included image, or you can build a kernel using a C compiler, and then use that kernel to build the rest of the system. See http://openmcl.clozure.com/ccl-documentation.html#Building-the-kernel > In terms of using binaries you haven't built yourself, starting from > CCL is no better than grabbing an SBCL binary to start with. > > If you must bootstrap from plain C, then using Clisp (after finding a > version that works to bootstrap SBCL) is your perhaps you bet right > now. I'd be delighted to merge patches to support ECL as a host, but I > don't have the time to work on that myself. The recent restructuring of SBCL bootstrapping process also removed some of the kludges needed for ECL. However, at the moment, bootstrapping with ECL fails because of some purported undefined function -- which I'm pretty sure is defined. See my other mail. What I am unsure about is whether this is one of those cases where ECL's approach of not "dumping" images (therefore not inadvertantly retaining some function definitions) is exposing a "logic" bug in SBCL, or whether it is just plain bug in ECL. I had reported the issue to ECL people too. > ABCL is another viable option: at least at some point the ABCL folks > used building SBCL as part of their regression tests. > > Also, if you could expand a bit on your reasons not to use SBCL binary > to bootstrap, perhaps other solutions could be devised. Right now the > constraints you operate under are a bit impenetrable to me, so it's > hard to provide appropriate advice. On *nix, I'm using a build farm where I do not have much control on installing prebuilt binaries -- so, except GCC and other core tools, I need (as part of the build process) to build SBCL from source. -- Gaby |