On Wed, Mar 31, 2010 at 10:24 AM, Gabriel Dos Reis <span dir="ltr"><<a href="mailto:gdr@integrable-solutions.net">gdr@integrable-solutions.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
However, if I specify sys:libcmp.a it is interpreted as reference to a symbol<br>
LIBCMP.A in the SI package. If I specify "sys:libcmp.a", it is translated to<br>
"sys:libcmp.o" which of course does not exist.<br></blockquote><div><br>I am afraid you might be using a too old version of ECL for here it works perfectly:<br></div></div><br>$ cat foo.lsp<br>(print 1)(quit)<br>
$ ecl<br>ECL (Embeddable Common-Lisp) 10.3.1<br>Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya<br>Copyright (C) 1993 Giuseppe Attardi<br>Copyright (C) 2000 Juan J. Garcia-Ripoll<br>ECL is free software, and you are welcome to redistribute it<br>
under certain conditions; see file 'Copyright' for details.<br>Type :h for Help. <br>Top level.<br>> (compile-file "foo" :system-p t)<br>> (c::build-program "foo" :lisp-files '("foo.o" "sys:libcmp.a"))<br>
[...]<br>#P"foo"<br>> <br>$ ./foo<br><br>1 <br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>