<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Robin Lee Powell wrote:
<blockquote cite="mid:20080805193127.GA24645@digitalkingdom.org"
type="cite">
<pre wrap="">On Sat, Aug 02, 2008 at 03:36:17PM +0200, Juan Jose Garcia-Ripoll wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Sat, Aug 2, 2008 at 1:07 AM, Robin Lee Powell
<a class="moz-txt-link-rfc2396E" href="mailto:rlpowell@digitalkingdom.org"><rlpowell@digitalkingdom.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Then it did this: [...]
../../src/c/file.d(49) : fatal error C1021: invalid preprocessor command 'defien'
</pre>
</blockquote>
<pre wrap="">I have just upgraded the MSVC port to fix the following problems:
- A typo in file.d
- MSVC does not have the C99 macro isfinite()
- Using "nmake clean" left some files behind
- The compiler farms were actually _not_ using ECL_THREADS=1
When the compiler farm failed to build a windows port, it did not
reflect in the logs. That cause the previous problems to survive
for a few days without being detected.
</pre>
</blockquote>
<pre wrap=""><!---->
It works great with msvc now, thank you!
I'm trying to build CLOCC now, and I'm really not sure what to do
with this error:
Type :h for Help. Top level.
</pre>
<blockquote type="cite">
<pre wrap="">(in-package :cl-user)
</pre>
</blockquote>
<pre wrap=""><!---->#<"COMMON-LISP-USER" package>
</pre>
<blockquote type="cite">
<pre wrap="">(setq *clocc-root* ".\\")
</pre>
</blockquote>
<pre wrap=""><!---->".\\"
</pre>
<blockquote type="cite">
<pre wrap="">(compile-file (concatenate 'string *clocc-root* "clocc"))
</pre>
</blockquote>
<pre wrap=""><!---->;;; Loading #P"C:/Documents and Settings/rpowell.LOOKSMART_SF/Desktop/cygwin/ecl
/ecl/msvc/package/cmp.fas"
;;; Loading #P"C:/Documents and Settings/rpowell.LOOKSMART_SF/Desktop/cygwin/ecl
/ecl/msvc/package/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 -O2 -I"C:/Documents and Settings/rpowell.LOO
KSMART_SF/Desktop/cygwin/ecl/ecl/msvc/package/" -w -c "C:/Documents and Settings
/rpowell.LOOKSMART_SF/Desktop/cygwin/tui/clocc/clocc.c" -Fo"C:/Documents and Set
tings/rpowell.LOOKSMART_SF/Desktop/cygwin/tui/clocc/clocc.obj"
clocc.c
;;; Note: Invoking external command:
;;; cl -Fe"C:/Documents and Settings/rpowell.LOOKSMART_SF/Desktop/cygwin/tui/clo
cc/clocc.fas" "C:/Documents and Settings/rpowell.LOOKSMART_SF/Desktop/cygwin/tui
/clocc/clocc.obj" /LD /MD /link /nologo /nodefaultlib:libcmt /nodefaultlib:libc
mtd /nodefaultlib:libc /nodefaultlib:libd ecl.lib user32.lib ws2_32.lib shell32.
lib /EXPORT:init_fas_CODE /LIBPATH:C:/Documents and Settings/rpowell.LOOKSMART_S
F/Desktop/cygwin/ecl/ecl/msvc/package/
LINK : fatal error LNK1181: cannot open input file 'ecl.lib'
;;; The C compiler failed to compile the intermediate file.
Filesystem error with pathname #P"C:/Documents and Settings/rpowell.LOOKSMART_SF
/Desktop/cygwin/tui/clocc/clocc.fas".
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.
</pre>
<pre wrap=""><!---->
I don't know why it's trying to get ecl.lib rather than ecl.dll;
like I said, I don't know anything about linking on windows.
-Robin
</pre>
</blockquote>
You need to tell msvc compiler where to find the ecl.lib file. Set your
environment before you start ECL as: set LIB=/path/to/your/ecl<br>
<br>
<br>
</body>
</html>