как заставить sbcl автоматически загружать ядро? - PullRequest
2 голосов
/ 18 февраля 2011

Я сохранил ядро. Как заставить sbcl загружать его автоматически?

Ответы [ 2 ]

3 голосов
/ 18 февраля 2011

Аргумент командной строки -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 голос
/ 18 февраля 2011

Вы можете использовать sbcl --core your.core для автоматической загрузки.

...