Difference between revisions of "ECL/Building libraries"
Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/www/web437/html/mediawiki/includes/MagicWord.php on line 902
From formgames wiki
< ECL
(→Shared Libraries) |
|||
Line 21: | Line 21: | ||
=== Shared Libraries === | === Shared Libraries === | ||
+ | |||
+ | ==== Using asdf:make-build ==== | ||
+ | |||
+ | Related documentation: | ||
+ | |||
+ | * ECL Manual: [http://ecls.sourceforge.net/new-manual/re55.html asdf:make-build] | ||
+ | |||
+ | TODO | ||
+ | |||
+ | ==== Using 'compile-file' and 'c:build-shared-library' ==== | ||
Sources: [http://formgames.org/lisp/ecl/examples/shared-library.tar.gz shared-library.tar.gz] | Sources: [http://formgames.org/lisp/ecl/examples/shared-library.tar.gz shared-library.tar.gz] | ||
− | ==== Usage ==== | + | ===== Usage ===== |
* Adapt the path of the batch file 'vcvars64.bat' in 'vsenv' to correspond to the local installation of Microsoft Visual C++. | * Adapt the path of the batch file 'vcvars64.bat' in 'vsenv' to correspond to the local installation of Microsoft Visual C++. | ||
Line 39: | Line 49: | ||
</pre> | </pre> | ||
− | ==== hello-lisp.lisp ==== | + | ===== hello-lisp.lisp ===== |
<pre> | <pre> | ||
Line 45: | Line 55: | ||
</pre> | </pre> | ||
− | ==== hello.c ==== | + | ===== hello.c ===== |
<pre> | <pre> | ||
Line 72: | Line 82: | ||
</pre> | </pre> | ||
− | ==== Makefile ==== | + | ===== Makefile ===== |
<pre> | <pre> | ||
Line 101: | Line 111: | ||
</pre> | </pre> | ||
− | ==== build.lisp ==== | + | ===== build.lisp ===== |
<pre lang=Lisp> | <pre lang=Lisp> | ||
Line 110: | Line 120: | ||
</pre> | </pre> | ||
− | ==== vsenv ==== | + | ===== vsenv ===== |
<pre> | <pre> |