如何让sbcl自动加载核心?

时间:2011-02-17 23:48:42

标签: lisp sbcl

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

2 个答案:

答案 0 :(得分: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.

答案 1 :(得分:1)

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