Hello, I'm trying to build the tests for windows, but I can't get it working anymore. I have mingw installed and it does work for cross-compiling with code-blocks, but wine says it's broken. The configure script fails with
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether i686-w64-mingw32-gcc works... no
An idea how to find out what's going wrong?
Hi Fabian, You can have more information about this failure in config.log. 2016-12-20 8:56 GMT+08:00 Fabian Maurer <dark.shadow4(a)web.de>:
Hello,
I'm trying to build the tests for windows, but I can't get it working anymore. I have mingw installed and it does work for cross-compiling with code-blocks, but wine says it's broken. The configure script fails with
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether i686-w64-mingw32-gcc works... no
An idea how to find out what's going wrong?
-- Regards, Jactry Zeng
On Tuesday, December 20, 2016 9:00:13 AM CET Jactry Zeng wrote:
You can have more information about this failure in config.log. Thanks, I somehow completely missed that...
The error is:
configure:8781: i686-w64-mingw32-gcc -c -g -O0 -rdynamic conftest.c >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-rdynamic' I'm on Arch Linux with mingw-w64-gcc 6.2.1 Seems like the script passes wrong options to gcc.
On Tue, Dec 20, 2016 at 02:37:13PM +0100, Fabian Maurer wrote:
On Tuesday, December 20, 2016 9:00:13 AM CET Jactry Zeng wrote:
You can have more information about this failure in config.log. Thanks, I somehow completely missed that...
The error is:
configure:8781: i686-w64-mingw32-gcc -c -g -O0 -rdynamic conftest.c >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-rdynamic' I'm on Arch Linux with mingw-w64-gcc 6.2.1 Seems like the script passes wrong options to gcc.
I think your "-O0 -rdynamic" options are coming from someplace outside of configure. I'm also on Arch Linux and I see: configure:8924: result: ccache i686-w64-mingw32-gcc configure:8940: checking whether ccache i686-w64-mingw32-gcc works configure:8953: ccache i686-w64-mingw32-gcc -c -g -O2 conftest.c >&5 I also noticed the configure line numbers are different, which seems strange as configure is tracked by git. The string 'rdynamic' doesn't appear in Wine's configure script. Andrew
participants (3)
-
Andrew Eikum -
Fabian Maurer -
Jactry Zeng