C-compilation with ASDF.
"Johannes Grødem" <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I did this draft on how C-compilation might be done in ASDF. I'm not sure this is the Right Way, but you can have a look and tell me what you think. An alternative way would be to just rely on make to do the building, but I'm thinking people will mostly be using ASDF to build simple wrappers that they need to call C-code, not large C-projects. Also, I'm unclear on whether ASDF-files are meant to be edited by the user or whether they're supposed to just work with no hassle. (I.e. setting include-paths, library-paths, etc.) If make-files were used, one could possibly have autoconf generate them for you. Still, though, you might have to manually specify options, so I don't know if there is much point. -- Johannes Grødem <OpenPGP: 5055654C>
asdf-mod.lisp
(application/octet-stream, 3.8 KB) - not displayed
astest.asd
(application/octet-stream, 313 B) - not displayed