[Ecls-list] Next step with Cygwin
Kamil Shakirov
kamils80 at gmail.com
Wed Aug 6 02:56:15 UTC 2008
Robin Lee Powell wrote:
> Trying to get Cygwin to work too, partly because I like it a lot
> more, and partly to help you guys out.
>
> Again, I'm trying to get CLOCC working, but in this case it's a lot
> more clear-cut: I can't get it to compile anything at all.
>
> What I'm running is:
>
> (in-package :cl-user)
> (setq *clocc-root* "c:/cygwin/home/rpowell/tui/clocc/")
> (compile-file (concatenate 'string *clocc-root* "clocc"))
>
> Output depends on what --prefix argument I gave to configure:
>
> None:
>
> ;;; Loading "/cygdrive/c/cygwin/home/rpowell/tui/clocc/install.lisp"
> ;;; Loading #P"/usr/local/lib/ecl/cmp.fas"
> An error occurred during initialization:
> LOAD: Could not load file #P"/usr/local/lib/ecl/cmp.fas" (Error: "No such file or directory").
>
> Cygwin-style --prefix=/cygdrive/c/cygwin/home/rpowell/ecl-bin:
>
> ;;; Loading #P"/cygdrive/c/cygwin/home/rpowell/ecl-bin/lib/ecl/cmp.fas"
> LOAD: Could not load file #P"/cygdrive/c/cygwin/home/rpowell/ecl-bin/lib/ecl/cmp.fas" (Error: "No such file or directory")
> Broken at SI:BYTECODES.No restarts available.
> Broken at SI:BYTECODES.
>
> Windows-style --prefix='c:\\cygwin\\home\\rpowell\\ecl-bin':
>
> ;;; Loading "/cygdrive/c/cygwin/home/rpowell/tui/clocc/install.lisp"
> An error occurred during initialization:
> Filesystem error with pathname #P"SYS:cmp.NEWEST".
> Either
> 1) the file does not exist, or
> 2) we are not allow to access the file, or
> 3) the pathname points to a broken symbolic link..
>
> I've tried a few things in between, too; in no case have I been able
> to get ecl/cmp.fas (which *is* there) to load.
>
> -Robin
>
>
I tried to compile (followed INSTALL) clocc myself with msvc ECL
(threads enabled) and got different results:
D:\Temp\clocc>ls
CVS INSTALL Makefile README bin clocc.lisp clocc.mk etc src
D:\Temp\clocc>ecl
ECL (Embeddable Common-Lisp) 0.9i (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.
> (in-package :cl-user)
#<"COMMON-LISP-USER" package>
> (setq *clocc-root* "./")
"./"
> (compile-file (concatenate 'string *clocc-root* "clocc"))
;;; Loading #P"d:/tools/lisp/ecl/cmp.fas"
;;; Loading #P"d:/tools/lisp/ecl/sysfun.lsp"
;;; Compiling clocc.
;;; Compiling (DEFVAR *CLOCC-ROOT* ...).
;;; End of Pass 1.
;;; Note: Replacing variable G130 by its value
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; cl /MD /EHsc /DGC_DLL /nologo -DECL_THREADS -O2
-I"d:/tools/lisp/ecl/" -w
-c "D:/Temp/clocc/clocc.c" -Fo"D:/Temp/clocc/clocc.obj"
clocc.c
;;; Note: Invoking external command:
;;; cl -Fe"D:/Temp/clocc/clocc.fas" "D:/Temp/clocc/clocc.obj" /LD /MD
/link /nologo /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/
Creating library D:/Temp/clocc/clocc.lib and object
D:/Temp/clocc/clocc.exp
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; Finished compiling clocc.
#P"D:/Temp/clocc/clocc.fas"
NIL
NIL
> (load *)
;;; Loading "D:/Temp/clocc/clocc.fas"
"D:/Temp/clocc/clocc.fas"
> (compile-file (translate-logical-pathname
"clocc:src;defsystem;defsystem"))
<...skipped...>
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; cl /MD /EHsc /DGC_DLL /nologo -DECL_THREADS -O2
-I"d:/tools/lisp/ecl/" -w
-c "D:/Temp/clocc/src/defsystem-3.x/defsystem.c"
-Fo"D:/Temp/clocc/src/defsystem-3.x/defsystem.obj"
defsystem.c
;;; Note: Invoking external command:
;;; cl -Fe"D:/Temp/clocc/src/defsystem-3.x/defsystem.fas"
"D:/Temp/clocc/src/defsystem-3.x/defsystem.obj" /LD /MD /link /nologo
/nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc
/nodefaultlib:libd ecl.lib user32.lib ws2_32.libshell32.lib
/EXPORT:init_fas_CODE /LIBPATH:d:/tools/lisp/ecl/
Creating library D:/Temp/clocc/src/defsystem-3.x/defsystem.lib and
object D:/Temp/clocc/src/defsystem-3.x/defsystem.exp
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; Finished compiling src/defsystem-3.x/defsystem.
#P"D:/Temp/clocc/src/defsystem-3.x/defsystem.fas"
NIL
NIL
> (load *)
;;; Loading "D:/Temp/clocc/src/defsystem-3.x/defsystem.fas"
"D:/Temp/clocc/src/defsystem-3.x/defsystem.fas"
> (dolist (l '("clocc:src;port;")) (mk:add-registry-location
(translate-logical-pathname l)))
NIL
> (mk:oos "port" :compile)
<...skipped...>
;;; Emitting code for COMPOSE-ALL.
;;; Emitting code for #:G1168.
;;; Emitting code for #:G1169.
;;; Calling the C compiler...
;;; Note: Invoking external command:
;;; cl /MD /EHsc /DGC_DLL /nologo -DECL_THREADS -O2
-I"d:/tools/lisp/ecl/" -w
-c "D:/Temp/clocc/src/port/ext.c" -Fo"D:/Temp/clocc/src/port/ext.obj"
ext.c
;;; Note: Invoking external command:
;;; cl -Fe"D:/Temp/clocc/src/port/ext.fas"
"D:/Temp/clocc/src/port/ext.obj" /LD /MD /link /nologo
/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/
Creating library D:/Temp/clocc/src/port/ext.lib and object
D:/Temp/clocc/src/port/ext.exp
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; Finished compiling src/port/ext.lisp.
Filesystem error with pathname #P"src/port/ext.so".
Either
1) the file does not exist, or
2) we are not allow to access the file, or
3) the pathname points to a broken symbolic link.
Broken at SI:BYTECODES.No restarts available.
Broken at SI:BYTECODES.
>>
More information about the ecl-devel
mailing list