Nicolas Neuss <Nicolas.Neuss@...> writes:
> Christophe Rhodes <csr21@...> writes:
>> This seems to be a symptom either of a misbuild or a misinstall. When
>> you finished the build, it will have printed out something along the
>> lines of "... build finished successfully (including X out of Y
>> contributed modules)." It would be good to know what X and Y were,
>> and if either X or Y is less than 13, why.
> I don't remember this unfortunately. I'll run it again now. I have used
> CMUCL for building SBCL. However, I did not run the installation script
> but linked the asdf and asdf-install directories to sbcl/output (from where
> I use sbcl.core).
Oh, right, so you're running it from the build tree?
In that case, what might work is
SBCL_HOME=`pwd`/contrib ./src/runtime/sbcl --core output/sbcl.core
from the build tree's top-level directory.
> (BTW: How long does a build with CLISP take?)
Much longer than with cmucl.
>> > 4. Another question to SBCL. Is there an analogue to the
>> > -dynamic-space-size option of CMUCL (and the dropping in the debugger
>> > when this space is exhausted)? In numerical simulations, it is
>> > easy to use a lot of memory, and a graceful exit would be nice.
>> Not at present, to either question (tunable heap size and
>> heap-exhaustion detection).
> I do not yet understand where the difficulty lies. Isn't it rather easy
> and natural to keep track of the size of this space and to drop into the
> debugger when a certain threshold is passed?
I'm sure (speaking from a position of relative ignorance, mind you)
that you're right, that it's fairly easy, but there are probably some
difficult decisions nonetheless: firstly, entering into the debugger
can require allocation of memory; secondly, the debugger allows
running of arbitrary user code, which can allocate memory. That said,
I'd welcome any patch implementing even mildly useful behaviour for
http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge)