Re: Compile to binary using gcl?



Rob Thorpe wrote:

gpropf@xxxxxxxxx wrote:
SBCL is written mostly in lisp with some C support bits to get it
started, so to compile it from source you need to have a cl compiler
already, as
well as the usual C compiler. Install a cl compiler binary (the SBCL
binary or similar) in a temporary location, use it to compile the
source,
then delete the temporary version. See
http://www.sbcl.org/getting.html for details.

Actually I just got the 1.0 version of SBCL and it does compile while
the older ones don't (on Gentoo). I'm supposing that the Gentoo people
are including a binary sbcl in their tarball to make the initial
compile happen. Still no luck compiling cmucl (I have AMD64 machines
and there's some kind of assembler error during the compile) though the
binary distro works fine. I'm now using it with Slime in fact, which
is totally wonderful by the way. Love the command completion

You don't really need to build it yourself. The improvement in
optimization is quite small between the stock binary and one built for
your machine. Also, SBCL and CMUCL are very similar for most purposes.

Sorry if my post came across that you had to build SBCL; you are right that
it is not necessary. The point I wanted to make is you have to install the
binary anyway. You can either just continue to use the binary as it is, or
use it to build SBCL if that is what you like to do.
.



Relevant Pages

  • Re: Any Lisp ported to the Cyrix Samuel 2 processor?
    ... he should install something less weird, i.e. Debian GNU/Linux, that should ... has all kinds of Lisps precompiled. ... latest SBCL on Debian), unless he has really weird Linux. ... having gcc you can compile CLISP. ...
    (comp.lang.lisp)
  • Re: (eval-when?)
    ... > - open the source file ... Because defconstant may have compile-time side-effects: ... In sbcl: ... An implementation may choose to evaluate the value-form at compile ...
    (comp.lang.lisp)
  • Re: Troll-o-Matic
    ... I am getting compile times of around 4s with SBCL 0.9.9. ... (The changes to the Lisp environment don't explain this change. ... [I've defined tokens as follows: ...
    (comp.lang.lisp)
  • Re: How to setup lisp develop environment on Mac OSX SnowLeopard
    ... Yesterday I try to built SBCL on my mac. ...  But, compile is fail ... I use Common Lisp on Mac OS X, but I am still on 10.4. ... Install Macports. ...
    (comp.lang.lisp)
  • Re: Newbie compilation problem
    ... When (using SBCL), I type (load "test.lisp"), then everything works fine. ... compile it, I get a slightly different result: ... try switching from defconstant to defvar. ...
    (comp.lang.lisp)