When compiling lisp files, creating libraries, etc, a number of files are produced which are of interest for the user or programmer. However, the name of these files will change from system to system. The purpose of the function
compile-file-pathnameis to query the compiler about the name of the different files that it can produce. Possible values of the
Standard compiled files that can be loaded with
:c, :data, :h
Intermediate files produced by the Lisp-to-C translator.
Linkable object files.
A normal library produced with
A dynamically linked library produced with
An executable produced with
The output of this function is system specific. For example, under FreeBSD> (compile-file-pathname "/this/path/mylib" :type :lib) #P"/this/path/libmylib.a" > (compile-file-pathname "/this/path/mylib" :type :dll) #P"/this/path/libmylib.so" > (compile-file-pathname "/this/path/mycode") #P"/this/path/mycode.fas"