[Ecls-list] How to build on Windows

Elliott Slaughter elliottslaughter at gmail.com
Mon Jul 6 06:04:03 UTC 2009


On Sun, Jul 5, 2009 at 10:52 PM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:

> On Sun, 5 Jul 2009 20:07:23 -0700
> Elliott Slaughter <elliottslaughter at gmail.com> wrote:
>
> > I am trying to find a working build for ECL on Windows. So far I have
> tried
> > compiling 9.6.1 and current CVS HEAD on Cygwin,  both of which fail
> (output
> > below).
>
> I can't answer about the exact problem or test it now on windows, but
> does ECL also support the cygwin->mingw cross-compiler target?  If so
> it might be worth trying as well, and it'd also avoid dependency on
> cygwin.dll (and its licensing and performance issues)...
>

When I try 'gcc -mno-cygwin' I get the following:

(Is the Makefile calling gen-fac_ui incorrectly?...)

$ CFLAGS='-mno-cygwin' ./configure
...
$ make
cd build; make
make[1]: Entering directory
`/cygdrive/c/User/Programming/Lisp/CommonLisp/ecl-20
09-07-05-759pmPST/build'
cp
/cygdrive/c/User/Programming/Lisp/CommonLisp/ecl-2009-07-05-759pmPST/src/util
/gdbinit .gdbinit
if (echo c gc gmp | grep gmp); then \
          cd gmp && make install && \
          cd .. && mv include/gmp.h ecl/ && rmdir include &&  \
          mv ./libgmp.a ./libeclgmp.a; \
        fi
c gc gmp
make[2]: Entering directory
`/cygdrive/c/User/Programming/Lisp/CommonLisp/ecl-20
09-07-05-759pmPST/build/gmp'
gcc  `test -f 'gen-fac_ui.c' || echo
'/cygdrive/c/User/Programming/Lisp/CommonLi
sp/ecl-2009-07-05-759pmPST/src/gmp/'`gen-fac_ui.c -o gen-fac_ui.exe
./gen-fac_ui  0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
Usage: gen-fac_ui limbbits nailbits
make[2]: *** [mpz/fac_ui.h] Error 1
make[2]: Leaving directory
`/cygdrive/c/User/Programming/Lisp/CommonLisp/ecl-200
9-07-05-759pmPST/build/gmp'
make[1]: *** [libeclgmp.a] Error 2
make[1]: Leaving directory
`/cygdrive/c/User/Programming/Lisp/CommonLisp/ecl-200
9-07-05-759pmPST/build'
make: *** [all] Error 2

Thanks.

-- 
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict
the future is to invent it." - Alan Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090705/781ebaea/attachment.html>


More information about the ecl-devel mailing list