2

我保存了核心。如何让 sbcl 自动加载它?

4

2 回答 2

3

命令行参数应该这样-core做。从手册页:

   --core <corefilename>
      Use the specified Lisp core file instead of the default. (See the FILES section  for  the
      standard  core,  or the system documentation for SB-EXT:SAVE-LISP-AND-DIE for information
      about how to create a custom core.) Note that if the Lisp core  file  is  a  user-created
      core  file,  it  may  run  a  nonstandard  toplevel which does not recognize the standard
      toplevel options.
于 2011-02-18T06:19:29.947 回答
1

您可以使用sbcl --core your.core它来自动加载它。

于 2011-02-18T10:12:51.343 回答