Sam Steingold wrote: > Cesar Romani wrote: >> I'm using MinGW 5.1.4 and gcc 3.4.5 on Win XP and I'm trying to compile >> clisp 2.48 with: >> configure --with-mingw --with-module=rawsock --with-ffcall >> --with-module=bindings/win32 >> >> and I got: >> >> -------------------- >> ... >> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/local/include >> -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type >> -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 >> -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DUNICODE >> -DDYNAMIC_FFI -DNO_GETTEXT -I. -MT localcharset.lo -MD -MP -MF >> .deps/localcharset.Tpo -c localcharset.c -DDLL_EXPORT -DPIC -o >> .libs/localcharset.o >> gcc: cannot specify -o with -c or -S and multiple compilations >> make[3]: *** [localcharset.lo] Error 1 >> make[3]: Leaving directory `/home/Romer/clisp-2.48/src/gllib' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/Romer/clisp-2.48/src/gllib' >> make[1]: *** [all] Error 2 >> -------------------- > > this is gnulib being compiled. > I am forwarding this to the gnulib maintainers, reply-to set. > Sam.
I managed to get clisp compiled. The problem was the variable PATH in the Makefile and I commented it: # PATH=/bin:.:/mingw/bin or I could have PATH=/mingw/bin:.:/bin In the original form it was taken gcc from /bin which has version 2.95 and is used for MSYS and the gcc version of /mingw/bin is 3.4.5 which doesn't cause that error. But if I do make check I get: -------------------- ... lisp.exe -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem -x '(progn (format *trace-output* "~&Line1 to *trace-output*") (format *debug-io* "~&Line2 to *debug-io*") (values))' 2>&1 >> fresh-line.out lisp.exe -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem -x '(progn (format *trace-output* "~&Line1 to *trace-output*") (format *trace-output* "~&Line2 to *trace-output*") (values))' 2>&1 >> fresh-line.out if grep 'Line1.*Line2' fresh-line.out > /dev/null; then exit 1; fi rm -f fresh-line.out lisp.exe -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -M lispinit.mem 0>/dev/null *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. The following restarts are available: ABORT :R1 Abort main loop Break 1 [2]> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. The following restarts are available: ABORT :R1 Abort debug loop ABORT :R2 Abort main loop Break 2 [3]> *** - Win32 error 5 (ERROR_ACCESS_DENIED): Access is denied. The following restarts are available: ABORT :R1 Abort debug loop ABORT :R2 Abort debug loop ABORT :R3 Abort main loop ... -------------------- and I cannot get clisp installed because install: isn't present on the Makefile. Many thanks in advance, Cesar
