lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lightning] lightning on mingw


From: Reini Urban
Subject: Re: [Lightning] lightning on mingw
Date: Mon, 19 May 2008 10:50:18 +0200

2008/5/19 Elliott Slaughter <address@hidden>:
> On Sun, May 18, 2008 at 9:57 AM, Paolo Bonzini <address@hidden> wrote:
>>> latest lightning cvs + mingw:
>>> In file included from C:/gnu/local/include/lightning.h:50,
>>>                  from lightning.c:55,
>>>                  from ../src/eval.d:8269:
>>> C:/gnu/local/include/lightning/funcs-common.h:38: error: syntax error
>>> before '(' token
>>
>> Can you send me a preprocessed output of ../src/eval.d (just add
>> --save-temps to the CFLAGS and send the resulting eval.i file, bzipped and
>> to private mail because of the size)?
>
> I don't think I get that far in the build. It warns about automake not
> being present, but says I shouldn't need it if I haven't modified
> certain files, then goes on to fail anyways (unless I am misreading
> the output).
>
> $ CC='gcc -mno-cygwin'; export CC
> $ CFLAGS='--save-temps'; export CFLAGS
> $ ./configure --prefix=${prefix}
> [... config output seems to be fine ...]
> $ make
> cd . && /bin/sh /clisp-2.45/tools/lightning-cvs/build-aux/missing
> --run aclocal-1.9 -I build-aux
> /clisp-2.45/tools/lightning-cvs/build-aux/missing: /c/Program
> Files/gnuwin32/bin/aclocal-1.9: No such file or directory
> WARNING: `aclocal-1.9' is missing on your system.  You should only need it if
>         you modified `acinclude.m4' or `configure.ac'.  You might want
>         to install the `Automake' and `Perl' packages.  Grab them from
>         any GNU archive site.
>  cd . && /bin/sh /clisp-2.45/tools/lightning-cvs/build-aux/missing
> --run automake-1.9 --gnu
> /clisp-2.45/tools/lightning-cvs/build-aux/missing: /c/Program
> Files/gnuwin32/bin/automake-1.9: No such file or directory
> WARNING: `automake-1.9' is missing on your system.  You should only need it if
>         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
>         You might want to install the `Automake' and `Perl' packages.
>         Grab them from any GNU archive site.
> cd . && /bin/sh /clisp-2.45/tools/lightning-cvs/build-aux/missing --run 
> autoconf
> /c/Program Files/gnuwin32/bin/autoconf:
> /clisp-2.45/tools/lightning-cvs/c:/progra~1/AutoConf/bin/autom4te: No
> such file or directory
> /c/Program Files/gnuwin32/bin/autoconf: exec:
> /clisp-2.45/tools/lightning-cvs/c:/progra~1/AutoConf/bin/autom4te:
> cannot execute: No such file or directory
> make: *** [configure] Error 1

I have a cygwin mingw32 cross-compiler setup - plain cygwin with a
sane shell and sane tools, so maybe I'll get farther. But I have no
plain MSYS setup unfortunately.

make distclean # optional
mkdir .build
cd .build
CFLAGS="-mno-cygwin" ../configure --target=i686-pc-mingw32
make
make check
=> 19 of 19 tests failed

But manual inspection of the test results (tests/*.log) show that all
succeeded,
so it looks like a \r\n issue to me.
I'll try to reproduce the jit_fail macro issue with the MSYS headers.
w32api with -mno-cygwin is doing fine.
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/

Attachment: tests.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]