[Ecls-list] Specifying linker flags for compile-file

Daniel Dickison danieldickison at cmu.edu
Mon Sep 4 16:59:10 UTC 2006


You're right -- that was the reason it wasn't working.  Putting  
(require 'cmp) at the toplevel of the file makes sure the compiler is  
loaded for the reader.

On Sep 4, 2006, at 10:30 AM, Juan Jose Garcia-Ripoll wrote:

> 2006/9/4, Daniel Dickison <danieldickison at cmu.edu>:
>> Sorry for the multiple messages, but I found that putting (require
>> 'cmp) at the toplevel instead of inside of the function where the
>> compiler is used fixes the problem.  I was hoping to avoid the
>> overhead of loading the compiler if it wasn't necessary, but this
>> works so I'm happy.
>
> Note that your code is not standard. If you do not load the compiler,
> the package COMPILER does not exist and you are not even allowed to
> type the symbol COMPILER::*LD-BUNDLE-FLAGS*. If ECL does not complain,
> this is probably a bug.
>
> Regards,
>
> Juanjo
>
> -- 
> Max-Planck-Institut für Quantenoptik
> Hans-Kopfermann-Str. 1, Garching, D-85748, Germany
> Phone: +49 89 32905 345   Fax: +49 89 32905 336
> http://www.mpq.mpg.de/Theorygroup/CIRAC/
>





More information about the ecl-devel mailing list