In article <·····················@umbc3.umbc.edu> ········@umbc5.umbc.edu (cs106241) writes:
From: ········@umbc5.umbc.edu (cs106241)
Date: 13 Apr 92 18:39:36 GMT
>Is there a CLtL/1 way to find out the file extension for a source file
>(eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
>CLtL/2 version, I think I could find out the extension for lisp files
>by using make-pathname with the new :case keyword. But even there I
>cannot figure out how to figure out what the object file's extension will
be. Am I missing something obvious?
There isn't a way. However:
1) You can specify what you'd like it to be with the :output-file
argument.
2) You can find out what it WAS after the fact; compile-file returns
the truename of the output file.