Note that for the sake of being able to simultaneously support several implementations on the same computer (or network), asdf has taken the route of trying to segregate fasl files and any other build output (e.g. C files and Lisp files generated by CFFI) to directories the name of which depend on the implementation, its version, the operating system and architecture, etc.
XCVB hopes to eventually go further and identify build output by cryptographic digest of input, including underlying build tools as well as input dependencies.
This segregation makes such output-inspection function much less useful.
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org You think war is economically beneficial? Then why share those benefits with dirty foreigners? Let's have a civil war — A war we're sure to win!
On Tue, May 15, 2012 at 11:54 AM, Sam Steingold sds@gnu.org wrote:
In 2004 I submitted a CLRFI which was then accepted as CLRFI-2. It specified a new function COMPILED-FILE-P which was supposed to be useful for system construction utilities, e.g., asdf:
Function (compiled-file-p file-name) ==> valid-p
Returns true if the file appears to be a valid compiled file (i.e., exists, is readable, and the contents appears to be valid for this implementation), false otherwise.
Implementations are required to inspect the contents (e.g., checking just the pathname type is not sufficient). Although the completeness of the inspection is not required, this function should be able to detect, e.g., file format changes between versions.
I re-submitted the spec to the CDR editors a week ago. No response so far.
The detailed html spec is attached.
-- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://mideasttruth.com http://ffii.org http://www.memritv.org http://jihadwatch.org http://camera.org http://memri.org You cannot fire me. Slaves are not fired. Slaves are sold.
pro mailing list pro@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro