[Ecls-list] declaim question

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Feb 14 11:55:01 UTC 2011


On Mon, Feb 14, 2011 at 10:30 AM, Marko Kocić <marko.kocic at gmail.com> wrote:

> c:\development\cvstree\ecl-shootout>ecl -norc -load compile.lisp -eval
> "(create-exec \"n-body\")" -eval "(quit)"
> ;;; Loading "c:/development/cvstree/ecl-shootout/compile.lisp"
> ;;; Loading #P"c:/opt/ecl/cmp.fas"
> ;;;
> ;;; Compiling n-body.
> ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
>

This does not mean it is ignored. This line shows the compiler settings
_before_ beginning to compile the file. Changes after that are not reflected
in the log, but definitely are taken into account -- a simpler check is that
you actually populate the file with functions and compile using
(compile-file .. :c-file t) . You will notice that the intermediate C file
differs depending on the declaim options.

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/20110214/3312ce45/attachment.html>


More information about the ecl-devel mailing list