I tried copy-pasting the hello example out of section 1.6.3 and am getting
an error:
-=-=-=-=-=-START COPY PASTE-=-=-=-=-
> *features*
(:ECL-BYTECMP :WIN32 :FORMATTER :LITTLE-ENDIAN :LONG-LONG :UINT64-T
:UINT32-T
:UINT16-T :RELATIVE-PACKAGE-NAMES :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT
:WINDOWS :MSVC :ECL-PDE :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL
:COMMON-LISP
:IEEE-FLOATING-POINT :PREFIXED-API :FFI :PENTIUM4 :COMMON :ECL)
> (compile-file "hello.lisp" :system-p t)
;;; Compiling hello.lisp
;;; Compiling #<input stream hello.lisp>
#P"hello.fasc"
NIL
NIL
> (c:build-program "myecl" :lisp-files '("hello.o"))
Condition of type: SIMPLE-ERROR
Cannot find the external symbol BUILD-PROGRAM in #<"C" package>.
Available restarts:
1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at SI:BYTECODES. [Evaluation of: (SI:TOP-LEVEL T)] In: #<process
TOP-LEVE
L>.
>>
"myecl"
>> Unknown top level command: :LISP-FILES
>> (c:build-program "myecl" :lisp-files '("hello.fasc"))
Debugger received error of type: SIMPLE-ERROR
Cannot find the external symbol BUILD-PROGRAM in #<"C" package>.
Error flushed.
>>
"myecl"
>> Unknown top level command: :LISP-FILES
>>
-=-=-=-=-=-END COPY PASTE-=-=-=-=-
I noticed at the point where I compile, I see #P"hello.fasc" while the
webpage says #P"hello.o".
Also I don't see any mention of 'invoking the compiler'.
I looked through the makefile and didn't see any switches.
Is there something easy I'm missing? Thank you!
Ken
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list