Lisp ECL如何在可执行文件中包含ASDF依赖项?
我有这个ecl-make.lisp: (asdf:oos 'asdf:compile-op :stumpwm) (defun system-objects (system) (loop for component in (asdf:module-components (asdf:find-system system)) for pathname = (asdf:component-pathname component) for directory = (pathname-directory pathname) for name = (pathname-name pathname) when (equal "lisp" (pathname-type pathname)) collect (make-pathname :directory directory :type "o" :name name))) (c:build-program "stumpwm" :lisp-files (concatenate 'list (system-objects :cl-ppcre) (system-objects :clx) (mapcar (lambda (component) (concatenate 'string component ".o")) stumpwm-system::*components*)) :epilogue-code '(unwind-protect (stumpwm:stumpwm) (ext:quit))) 我已经到了只解决我引入的错误的地步 和以前的尝试一样。如果你用ECL建立了一个程序 包括依赖项,请告诉我您是如何做到的。我明白了 我可以在Lisp ECL如何在可执行文件中包含ASDF依赖项?,lisp,common-lisp,asdf,ecl,Lisp,Common Lisp,Asdf,Ecl,我有这个ecl-make.lisp: (asdf:oos 'asdf:compile-op :stumpwm) (defun system-objects (system) (loop for component in (asdf:module-components (asdf:find-system system)) for pathname = (asdf:component-pathname component) for directory = (pathname-d
stumpwm
启动时(甚至
不加载my~/.eclrc
,它告诉ASDF在哪里可以找到
这些)。但这应该是可能的。哦,哇
ecl make.lisp
,将更改还原为stumpwm.asd
ecl-eval'(asdf:make-build:stumpwm:type:program)
ASDF:build op
。]
编辑:嗯,它还需要一个开场白。现在显示asdf:make build
相关
... same messages you get when (system-objects ...) are
... excluded from the c:build-program [it compiles in
... this case, but of course CL-PPCRE and CLX are unavailable.]
An error occurred during initialization:
Cannot find out entry point for binary file.