[Ecls-list] build bugs on win32

Yaroslav Kavenchuk kavenchuk at gmail.com
Wed Oct 11 20:10:31 UTC 2006


1. C:/gnu/home/src/ecl/ecl/src/c/time.d:115: error: too many arguments 
to function `GetTickCount'

solution:

--- src/c/time.d   Wed Oct 11 23:04:25 2006
+++ src/c/time.d   Wed Oct 11 22:59:15 2006
@@ -112,7 +112,7 @@
 cl_get_internal_real_time()
 {
 #if defined(mingw32) || defined(_MSC_VER)
-       @(return MAKE_FIXNUM((cl_fixnum)((GetTickCount(0) - 
beginning)/1000.0*HZ)))
+       @(return MAKE_FIXNUM((cl_fixnum)((GetTickCount() - 
beginning)/1000.0*HZ)))
 #else
        @(return MAKE_FIXNUM((time(0) - beginning)*HZ))
 #endif

2. I have installed gmp-4.2.1 on /usr/local (mingw)

$ ./configure --with-system-gmp --with-gmp-prefix=/usr/local 
--with-gmp-incdir=/usr/local/include --with-gmp-libdir=/usr/local/lib
...
$ make
...
;;; gcc -I"C:/gnu/home/src/ecl/ecl/build/c"  -g -O2  
-I/usr/local/include -fstrict-aliasing -Dmingw32 
-I"C:/gnu/home/src/ecl/ecl/src"/c -I"C:/gnu/home/src/ecl/ecl/src"/gmp 
-I"C:/gnu/home/src/ecl/ecl/build" -O -I"C:/gnu/home/src/ecl/ecl/build" 
-w -c "C:/gnu/home/src/ecl/ecl
/build/lsp/export.c" -o "C:/gnu/home/src/ecl/ecl/build/lsp/export.o"

In file included from C:/gnu/home/src/ecl/ecl/build/ecl/ecl-cmp.h:35,
                 from C:/gnu/home/src/ecl/ecl/build/lsp/export.c:2:
C:/gnu/home/src/ecl/ecl/build/ecl/config.h:33:17: gmp.h: No such file or 
directory
...(and some more errors)

What is `-I"C:/gnu/home/src/ecl/ecl/src"/gmp`?

Thanks!

-- 
WBR, Yaroslav Kavenchuk.





More information about the ecl-devel mailing list