[Ecls-list] compiling with mingw-w64
Martin Rubey
martin.rubey at math.uni-hannover.de
Wed Apr 14 17:58:13 UTC 2010
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:
> On Wed, Apr 14, 2010 at 3:10 PM, Martin Rubey <
> martin.rubey at math.uni-hannover.de> wrote:
>
> I'm trying to (cross-compile) ecl for 64 bit on windows, but already
> configure fails.
>
> Sorry, I missed the cross-compile part. I have fixed the autoconf file (src/
> aclocal.m4) so that it adds some new options to the cross compilation file.
> You will have to fill these options by hand. They were missing because we
> forgot to check for cross compilation in these tests (ECL_LONG_LONG_BITS,
> ECL_WORKING_SEM_INIT, etc)
>
> However note that I can not assure that cross compilation will work -- I did
> not set up a cross compiler myself and these options are largely untested.
OK, I just tried. I'm now getting the following with a fresh cvs
checkout. But I have no idea which file to edit, and what to write into
it...
Martin
Mari at bustopherjones ~/ecl-cvs-x64
$ export PATH=/opt/mingw-w64/bin:$PATH
Mari at bustopherjones ~/ecl-cvs-x64
$ ABI=64 ./configure --prefix=/opt --build=i686-pc-cygwin
--host=x86_64-w64-min
gw32
Switching to directory `build' to continue configuration.
checking build system type... i686-pc-cygwin
checking host system type... x86_64-w64-mingw32
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none
needed
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
###
### YOU ARE TRYING TO CROSS COMPILE ECL.
### PLEASE FOLLOW THESE INSTRUCTIONS:
###
### 1) Vital information cannot be determined at configuration time
### because we are not able to run test programs. A file called
###
### has been created, that you will have to fill out. Please do
### it before invoking "configure" again.
### 1.1) Direction of growth of the stack
ECL_STACK_DIR=up
### 1.2) Choose an integer datatype which is large enough to host a
pointer
CL_FIXNUM_TYPE=int
CL_FIXNUM_BITS=32
CL_FIXNUM_MAX=536870911L
CL_FIXNUM_MIN=-536870912L
### 1.3) Order of bytes within a word
ECL_BIGENDIAN=no
### 1.4) What characters signal an end of line. May be LF (Linefeed or
\n)
### CR (Carriage return or \r), and CRLF (CR followed by LF).
ECL_NEWLINE=LF
### 1.5) Can we guess how many characters are available for reading from
### the FILE structure?
### 0 = no
### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr
### 2 = (f)->_r
### 3 = (f)->_cnt
ECL_FILE_CNT=0
###
### 1.6) Other integer types (set to 'no' to disable)
###
ECL_STDINT_HEADER="#include <stdint.h>"
ECL_UINT8_T=uint8_t
ECL_UINT16_T=uint16_t
ECL_UINT32_T=uint32_t
ECL_UINT64_T=no
ECL_INT8_T=int8_t
ECL_INT16_T=uint16_t
ECL_INT32_T=uint32_t
ECL_INT64_T=no
ECL_LONG_LONG_BITS=no
###
### 1.7) Other features (set to 'no' to disable)
###
ECL_WORKING_SEM_INIT=no
ECL_WORKING_ENVIRON=yes
### 2) To cross-compile ECL so that it runs on the system
### x86_64-w64-mingw32
### you need to first compile ECL on the system in which you are
### building
### the cross-compiled files, that is
### i686-pc-cygwin
### By default we assume that ECL can be accessed from some directory in
### the path.
ECL_TO_RUN=/usr/local/bin/ecl
configure: error: Configuration aborted
Mari at bustopherjones ~/ecl-cvs-x64
$ ecl
ECL (Embeddable Common-Lisp) 10.3.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
> (quit)
Mari at bustopherjones ~/ecl-cvs-x64
$
More information about the ecl-devel
mailing list