[Ecls-list] c:build-program and -eval

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Sat Mar 10 09:11:57 UTC 2007

Hi Gabriel,

you are missing an important step:
    (require 'cmp)

The compiler is not loaded by default, to save memory. Your example
then should probably read

% ecl -eval '(progn (require 'cmp) (c::build-progam "hello.lisp"
:lisp-file (quote ("hello.o"))) (quit))'

Dpto. de Fisica Teorica I, Fac. de CC Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)

More information about the ecl-devel mailing list