[Ecls-list] compiling to a standalone exe win7 visual studio 2010
ke n
ken.60625 at gmail.com
Fri May 11 03:11:24 UTC 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120510/11176e22/attachment.html>
More information about the ecl-devel
mailing list