次のファイルがあります
例.asd:
(defsystem example
:serial t
:components ((:file "first")
(:file "second")))
first.lisp:
(defun first-print-hello ()
(format t "Hello from first.lisp!~%"))
second.lisp:
(format t "Hello from second.lisp!~%")
(first-print-hello)
システムを正常にロードできますが、実行(asdf:make-build :example :type :program :move-here ".")
すると次のエラーが発生します。
LINK : fatal error LNK1149: output filename matches input filename 'C:\path\to\example.lib'
正しく構成していないものはありますか? example.lib を作成してから、example.exe を example.lib にリンクしているようですが、cl はそれらが同じ名前になるのを好みません。結果の実行可能ファイルの名前を指定する方法はありますか? それとも、これは ECL の asdf:make-build の単なるバグですか?
Visual Studio 2015 の開発者ツールを使用して、Windows 10 で ECL を使用しています。