[Ecls-list] Need Help compile-file didn't call VC compiler

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Fri Apr 22 09:38:24 UTC 2011


2011/4/22 邱涛 <qiutaoleo at hotmail.com>

>  I didn't find the ECL ini file (.eclrc).
> But I put (require :cmp) before (compile-file ....) is work.
>

The reason is that in Windows it is very difficult to find a native
compiler. Understanding this problem, I designed ECL so that it uses by
default a bytecodes compiler (what you saw), and only when you load the
compiler package, (require :cmp), does it attempt to use a C compiler


> Another promble is when I (c:build-shared-library "myecl" :lisp-files
> '("helo.lisp")).
> Error is "In function COPY-TO-SIMPLE-BASE-STRING, the value of the first
> argument is ("D:/Program Files/ECL/hello.lisp")"
>

:lisp-files does not mean source files, but lisp compiled files. Please
avoid yourself a lot of troubles and go with ASDF

http://ecls.sourceforge.net/new-manual/ch16.html

This allows you to do everything, from executables to shared libraries.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110422/e886add1/attachment.html>


More information about the ecl-devel mailing list