Search code examples
compilationlispcommon-lispasdf

Get result of compilation as single file with ASDF


Is it possible to tell ASDF that it should produce only one fas(l) file for entire system? This file should be concatenation (in right order) of all compiled files of the system, including all files of systems on which target system depends.


Solution

  • Yes, with compile-bundle-op (ASDF 3.1): http://common-lisp.net/project/asdf/asdf/Predefined-operations-of-ASDF.html

    edit: Actually, monolithic-compile-bundle-op seemes to be asked for (as shown in other answers).