[Ecls-list] CVS HEAD: asdf:make-build examples (msvc2005)

Kamil Shakirov kamils80 at gmail.com
Wed May 7 18:26:32 UTC 2008


Hi Juan,

I tried to use asdf:make-build examples from the manual and found that 
something goes wrong on win32/msvc2005.

When asdf:make-build is executed with :type :program it generates a dll 
library instead of an executable file. When running with :type :dll the 
ECL hangs for a few seconds and crashes (or exits?) without generating 
any object files. You may find logs for both cases below. Types: :fasl 
and :lib work fine.


D:\tools\Lisp\ecl\doc\examples\asdf>d:\Tools\Lisp\ecl\ecl.exe
ECL (Embeddable Common-Lisp) 0.9i (CVS 2008-05-07 11:23)
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.
 > (require :asdf)
;;; Loading #P"d:/Tools/Lisp/ecl/ASDF.fas"
;;; Loading #P"d:/Tools/Lisp/ecl/CMP.fas"
;;; Loading #P"d:/Tools/Lisp/ecl/sysfun.lsp"
("ASDF" "CMP")
 > (asdf:make-build :example :type :program
                   :epilogue-code '(ext:quit 0))
; loading system definition from example.asd into #<ASDF0 package>
;;; Loading "D:/tools/Lisp/ecl/doc/examples/asdf/example.asd"
; registering #<SYSTEM #:EXAMPLE 15653696> as EXAMPLE
;;; Compiling D:/tools/Lisp/ecl/doc/examples/asdf/file1.lisp.
;;; Compiling (DEFUN TEST-FUNCTION ...).
;;; End of Pass 1.
;;; Note: Creating tag: "_eclRFRnI_etUOj3" for 
#P"D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj"
;;; Emitting code for TEST-FUNCTION.
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; cl  -MD -EHsc -DGC_DLL -nologo  -O2 -I"d:/Tools/Lisp/ecl/" -w -c 
"D:/tools/Lisp/ecl/doc/examples/asdf/file1.c" 
-Fo"D:/tools/Lisp/ecl/doc/examples/asdf/file1
.obj"
file1.c
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; Finished compiling D:/tools/Lisp/ecl/doc/examples/asdf/file1.lisp.
;;; Note: Scanning #P"D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj"
;;; Note: Found tag: "_eclRFRnI_etUOj3"
;;; Note: Invoking external command:
;;; cl  -MD -EHsc -DGC_DLL -nologo  -O2 -I"d:/Tools/Lisp/ecl/" -w -c 
"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20B.c" 
-Fo"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20B.obj"
ECL20B.c
;;; Note: Invoking external command:
;;; cl -Fe"D:/tools/Lisp/ecl/doc/examples/asdf/file1.fas" 
"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20B.obj" 
"D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj"  -LD -MD
/link /nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc 
/nodefaultlib:libd ecl.lib user32.lib ws2_32.lib shell32.lib 
/EXPORT:init_fas_CODE /LIBPATH:
d:/Tools/Lisp/ecl/
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 
for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:D:/tools/Lisp/ecl/doc/examples/asdf/file1.fas
/dll
/implib:D:/tools/Lisp/ecl/doc/examples/asdf/file1.lib
/nodefaultlib:libcmt
/nodefaultlib:libcmtd
/nodefaultlib:libc
/nodefaultlib:libd
ecl.lib
user32.lib
ws2_32.lib
shell32.lib
/EXPORT:init_fas_CODE
/LIBPATH:d:/Tools/Lisp/ecl/
C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20B.obj
D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj
   Creating library D:/tools/Lisp/ecl/doc/examples/asdf/file1.lib and 
object D:/tools/Lisp/ecl/doc/examples/asdf/file1.exp
;;; Loading "D:/tools/Lisp/ecl/doc/examples/asdf/file1.fas"
======================================================================
We are now executing FILE1.LSP
TEST-FUNCTION has been created
;;; Compiling D:/tools/Lisp/ecl/doc/examples/asdf/file2.lisp.
;;; End of Pass 1.
;;; Note: Creating tag: "_eclZDyYS_ftUOj3" for 
#P"D:/tools/Lisp/ecl/doc/examples/asdf/file2.obj"
;;; Note: Emiting FUNCALL for TEST-FUNCTION
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; cl  -MD -EHsc -DGC_DLL -nologo  -O2 -I"d:/Tools/Lisp/ecl/" -w -c 
"D:/tools/Lisp/ecl/doc/examples/asdf/file2.c" 
-Fo"D:/tools/Lisp/ecl/doc/examples/asdf/file2
.obj"
file2.c
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; Finished compiling D:/tools/Lisp/ecl/doc/examples/asdf/file2.lisp.
;;; Note: Scanning #P"D:/tools/Lisp/ecl/doc/examples/asdf/file2.obj"
;;; Note: Found tag: "_eclZDyYS_ftUOj3"
;;; Note: Scanning #P"D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj"
;;; Note: Found tag: "_eclRFRnI_etUOj3"
;;; Note: Invoking external command:
;;; cl  -MD -EHsc -DGC_DLL -nologo  -O2 -I"d:/Tools/Lisp/ecl/" -w -c 
"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20E.c" 
-Fo"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20E.obj"
ECL20E.c
;;; Note: Invoking external command:
;;; link -lib @static_lib.tmp
Microsoft (R) Library Manager Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

/DEBUGTYPE:CV /OUT:D:/tools/Lisp/ecl/doc/examples/asdf/example.lib 
C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20E.obj
"D:/tools/Lisp/ecl/doc/examples/asdf/file1.obj"
"D:/tools/Lisp/ecl/doc/examples/asdf/file2.obj"
LINK : warning LNK4224: /DEBUGTYPE:CV is no longer supported;  ignored
;;; Note: Invoking external command:
;;; cl  -MD -EHsc -DGC_DLL -nologo  -O2 -I"d:/Tools/Lisp/ecl/" -w -c 
"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20F.c" 
-Fo"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20F.obj"
ECL20F.c
;;; Note: Invoking external command:
;;; cl -Fe"D:/tools/Lisp/ecl/doc/examples/asdf/example.dll" 
"C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20F.obj" 
"D:/tools/Lisp/ecl/doc/examples/asdf/example.lib"  -LD
-MD /link /nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc 
/nodefaultlib:libd ecl.lib user32.lib ws2_32.lib shell32.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 
for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:D:/tools/Lisp/ecl/doc/examples/asdf/example.dll
/dll
/implib:D:/tools/Lisp/ecl/doc/examples/asdf/example.lib
/nodefaultlib:libcmt
/nodefaultlib:libcmtd
/nodefaultlib:libc
/nodefaultlib:libd
ecl.lib
user32.lib
ws2_32.lib
shell32.lib
C:/DOCUME~1/kamil/LOCALS~1/Temp/ECL20F.obj
D:/tools/Lisp/ecl/doc/examples/asdf/example.lib
NIL
 >

D:\tools\Lisp\ecl\doc\examples\asdf>d:\Tools\Lisp\ecl\ecl.exe
ECL (Embeddable Common-Lisp) 0.9i (CVS 2008-05-07 11:23)
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.
 > (require :asdf)
;;; Loading #P"d:/Tools/Lisp/ecl/ASDF.fas"
;;; Loading #P"d:/Tools/Lisp/ecl/CMP.fas"
;;; Loading #P"d:/Tools/Lisp/ecl/sysfun.lsp"
("ASDF" "CMP")
 > (asdf:make-build :example :type :dll)
; loading system definition from example.asd into #<ASDF0 package>
;;; Loading "D:/tools/Lisp/ecl/doc/examples/asdf/example.asd"
; registering #<SYSTEM #:EXAMPLE 15653816> as EXAMPLE

.... here, the ECL hangs and exits after a few seconds...





More information about the ecl-devel mailing list