Try this:
1. git clone git://github.com/genworks/gendl.git
2. put it in your quicklisp/local-projects/
3. (ql:register-local-projects)
4. (ql:quickload :gendl)
5. (ql:operate 'asdf/bundle:monolithic-fasl-op :gendl)
6. (first (asdf:output-files 'asdf/bundle:monolithic-fasl-op :gendl))
7. Copy the yielded pathname string to use in next step.
8. [in a fresh Lisp] (load <the --all-systems fasl from step 7>)
9. [back in first Lisp]:
(asdf:component-depends-on 'asdf/bundle:monolithic-fasl-op :gendl)
10. Read it and weep. system :gendl comes _first_ in the list. I feel it should come _last_.
I tried to look into the asdf code behind this operation but am afraid it is currently far over my head.
A bit off topic bit this is the first I have heard about asdf-bundle and its coming inclusion in ASDF3. Is it possible to get it to return a plain text source file instead of a fasl? I have been working on something to do that (return a source file that when loaded is "equivalent" to an asdf:load-op, which hopefully across implementations) but I would much rather see if this is already a solved or easily solved problem via bundle. Plus attempt is a hacky POS, but I bet that is more or less unavoidable (because of the desired cross imp requirement and the complicated nature of the Lisp reader).
Zach KS
On Fri, Mar 15, 2013 at 5:06 PM, Dave Cooper david.cooper@genworks.comwrote:
Try this:
git clone git://github.com/genworks/gendl.git
put it in your quicklisp/local-projects/
(ql:register-local-projects)
(ql:quickload :gendl)
(ql:operate 'asdf/bundle:monolithic-fasl-op :gendl)
(first (asdf:output-files 'asdf/bundle:monolithic-fasl-op :gendl))
Copy the yielded pathname string to use in next step.
[in a fresh Lisp] (load <the --all-systems fasl from step 7>)
[back in first Lisp]:
(asdf:component-depends-on 'asdf/bundle:monolithic-fasl-op :gendl)
Read it and weep. system :gendl comes _first_ in the list. I feel it
should come _last_.
I tried to look into the asdf code behind this operation but am afraid it is currently far over my head.
-- My Best,
Dave Cooper, Genworks Support david.cooper@genworks.com, dave.genworks.com(skype) USA: 248-327-3253(o), 1-248-330-2979(mobile) UK: 0191 645 1699
asdf-devel mailing list asdf-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
Is it possible to get it to return a plain text source file instead of a fasl?
yes. look at how asdf HEAD builds itself, especially monolithic-concatenate-source-op