[Ecls-list] Fwd: Building executables on Win7(x64) and MSVC 2010

Павел Соловейчик paul.soloveychik at gmail.com
Sat Nov 5 15:40:42 UTC 2011


Not sure where to post so add code here, sorry if i'm wrong with it.
Its error even with example from help
    (princ "Hello world!")
    (terpri)
    (quit)
 In my version:
(defun CP_2 (x y)
(MCP
(MPL x)
(MPL y)
)
)

(defun MPP(x)
;(MPL '(q (w (e)))) => (q w e)
(cond
((eq x nil)nil)
((atom (car x)) (cons (car x) (MPL (cdr x))))
 (t (MCP (MPL (car x)) (MPL (cdr x))))
 )
)

(defun MCP (x y)
(cond
((eq x nil) y)
(t (cons (car x) (MCP (cdr x) y)))
)
)
(print(MCP '(1 2 3) '(4 5 6)))

2011/11/5 Waldek Hebisch <hebisch at math.uni.wroc.pl>

> > Hello!
> > I'm trying to make executable file with ECL.
> > So i'm save my code in to hello.lisp (small recursive program to test)
> > And put in to REPL this:
> > >>>(require 'cmp)
> > ;;; Loading #P"C:/lispbox/ECL/msvc/CMP.fas"
> > ;;; Loading #P"C:/lispbox/ECL/msvc/sysfun.lsp"
> > ("CMP")
> > >>>(compile-file "hello.lisp" :system-p t)
> >
> > #|.....|#
> >
> > ;;; hello.c
> > C:/lispbox/ECL/msvc/hello.c : fatal error C1074: 'IDB' is illegal
> extension
> > for PDB file:
> > ;;; Error:
> > ;;;   * The C compiler failed to compile the intermediate file.
> >
> > Can you please explain what in this situation need to do for success
> > compilation?
>
> I can not anwer your question.  But you should definitly post
> 'hello.lisp' -- without it probably nobody can answer your
> question.
>
> --
>                              Waldek Hebisch
> hebisch at math.uni.wroc.pl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20111105/b89ee653/attachment.html>


More information about the ecl-devel mailing list