On Tue, 2021-03-16 at 17:52 +0100, Didier Verna wrote: > Hi, > > what's the proper way to find out where a dumped executable > (resulting > from a program-op) has landed? I would like to it to literally > :move-here #p"./", to speak in MAKE-BUILD terms... Note that *I* know > where it is in the cache; what I want is programmatic access to its > location.
A compbination of apply-output-translations and system-relative- pathname should do the trick: (let ((system-name "cl-ppcre")) (asdf:apply-output-translations (asdf:system-relative-pathname system-name system-name)))