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
| Line 100: | Line 100: | ||
(c:build-shared-library "hello-lisp" :lisp-files '("hello-lisp.obj") :init-name "init_lib_HELLO_LISP") | (c:build-shared-library "hello-lisp" :lisp-files '("hello-lisp.obj") :init-name "init_lib_HELLO_LISP") | ||
(quit) | (quit) | ||
| + | </pre> | ||
| + | |||
| + | === vsenv === | ||
| + | |||
| + | <pre> | ||
| + | #!/usr/bin/bash | ||
| + | |||
| + | # Batch file for setting the Microsoft Visual Studio 10.0 environment | ||
| + | vcvars64bat="C:\Program Files (x86)\Microsoft Visual Studio 10.0/VC/bin/AMD64/vcvars64.bat" | ||
| + | |||
| + | # Temporary file | ||
| + | tmpfile="$TMP/tmp$$.bat" | ||
| + | tmpfile_win=$(cygpath -m "$tmpfile") | ||
| + | |||
| + | # Generating the batch file | ||
| + | cat > $tmpfile <<EOF | ||
| + | @echo off | ||
| + | call "${vcvars64bat}" | ||
| + | bash -c "%*" | ||
| + | EOF | ||
| + | |||
| + | # Executing the temporary batch file | ||
| + | cmd /c "${tmpfile_win} $@" | ||
| + | |||
| + | # Removing the temporary file | ||
| + | rm -f $tmpfile | ||
</pre> | </pre> | ||