[Ecls-list] How to build on Windows

Elliott Slaughter elliottslaughter at gmail.com
Wed Jul 8 07:00:11 UTC 2009


On Mon, Jul 6, 2009 at 7:30 AM, Samium
Gromoff<_deepfire at feelingofgreen.ru> wrote:
> From: Elliott Slaughter <elliottslaughter at gmail.com>
> Subject: [Ecls-list] How to build on Windows
> Date: Sun, 5 Jul 2009 20:07:23 -0700
>
>> Hi,
>>
>> 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).
>
> If you don't mind MinGW+MSYS, you can pull the 'mingw' branch from:
>
>   git://git.feelingofgreen.ru/ecl

Cygwin still doesn't work for me, even with the above repo and using
'-mno-cygwin'.

With MinGW (GCC 4.4.0) I get quite a bit further, but fail after I
build ecl_min.exe:

Suggestions? Thanks again for any help.



gcc -g -O2   -Dmingw32 -c -DECL_API -I.
-IC:/Bin/MSYS1.0/ecl-mingw/build -I/ecl-mingw/src/c -I../ecl/gc  -I./
cinit.c -o ../cinit.o
rm num_comp.c list.c mapfun.c format.c stacks.c time.c num_rand.c
file.c sequence.c ffi.c num_arith.c alloc_2.c num_log.c array.c cfun.c
disassembler.c predicate.c assignment.c backq.c main.c string.c big.c
eval.c error.c character.c print.c number.c gfun.c multival.c read.c
macros.c typespec.c unixint.c hash.c compiler.c num_sfun.c num_pred.c
tcp.c reference.c structure.c unixfsys.c symbol.c pathname.c num_co.c
load.c unixsys.c cmpaux.c package.c interpreter.c instance.c
make[2]: Leaving directory `/ecl-mingw/build/c'
if [ -f CROSS-COMPILER ]; then \
        touch ecl_min.exe; \
else \
        gcc  -o ecl_min.exe cinit.o c/all_symbols.o -L./ libeclmin.a
-leclgmp -leclgc   -lm -lws2_32;\
fi
sed -e 's, at ecldir\\@,/usr/local/lib/ecl-9.7.1/,g' \
    -e 's, at libdir\\@,/usr/local/lib/,g' < compile.pre > compile.lsp
cp -p /ecl-mingw/src/cmp/sysfun.lsp ./
echo "#" `uname -a` > BUILD-STAMP
head -8 config.log | tail -6 >> BUILD-STAMP
cp /ecl-mingw/src/../contrib/unicode/ucd.dat .
if [ -f CROSS-COMPILER ]; then \
        ./CROSS-COMPILER compile; \
else \
        ECLDIR=`pwd`/ ./ecl_min compile; \
fi
make[1]: *** [bin/ecl.exe] Error 5
make[1]: Leaving directory `/ecl-mingw/build'
make: *** [all] Error 2

-- 
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




More information about the ecl-devel mailing list