[Ecls-list] Compiling ls.lsp (cmdline) Example

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Jul 9 22:04:16 UTC 2008


Well, I can only recommend you to upgrade to the CVS version, since it
seems this example was broken in 0.9j. I just tested it locally and
seems to work with CVS HEAD. If you want to wait, I expect to make a
release in one or two weeks.

$ ecl
;;; Loading #P"/Users/jjgarcia/lib/ecl/CMP.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl/sysfun.lsp"
;;; Loading #P"/Users/jjgarcia/lib/ecl/ASDF.fas"
ECL (Embeddable Common-Lisp) 0.9k (CVS 2008-06-19 17:09)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> ^D
$ ecl 2>&1 |tee log
ECL (Embeddable Common-Lisp) 0.9k (CVS 2008-06-19 17:09)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  Top level.
> (compile-file "ls.lsp" :output-file "ls.o" :system-p t)
;;; Compiling ls.lsp.
;;; Compiling (DEFUN PRINT-DIRECTORY ...).
[...]
#P"/Users/jjgarcia/src/ecl/examples/cmdline/ls.o"
NIL
NIL
> (c::build-program "ls" :lisp-files '("ls.o"))
;;; Note: Scanning #P"ls.o"
;;; Note: Found tag: "_eclAPDHeIn8_2SDT8Iy"
[...]
#P"ls"
> ^D
$ ./ls
$ ./ls *
ls
ls.lsp
ls.o


-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list