About building test suite for Windows

André Hentschel nerv at dawncrow.de
Sun Jun 12 06:03:10 CDT 2011

Am 12.06.2011 07:54, schrieb Patrick Gauthier:
> Hi,
> As I was writing my task dialog test I ran into a few problems trying to
> test on Windows...
> First, I tried building it using make crosstest but I keep getting this:
> $ gmake crosstest
> crosstest is not supported (mingw not installed?)
> gmake: *** [crosstest] Error 1
> I am on FreeBSD 8.2-RELEASE (i386), I have the following mingw ports
> installed (using pkg_add)
> mingw32-bin-msvcrt-r3.18.a3.14
> mingw32-binutils-2.21,1
> mingw32-directx-20020518
> mingw32-gcc-4.5.0_1,1
> mingw32-pdcurses-3.4
> mingw32-pthreads-2.8.0
> Eventually I would like to just be able to make crosstest so that I can
> stay in one dev environments and not two, so if anybody could help me
> about why isn't mingw32 detected, I would like it.

i had a look in my config.log and found in my 32-bit tree:
configure:7022: checking for i686-mingw32msvc-gcc
configure:7052: result: no
configure:7022: checking for i586-mingw32msvc-gcc
configure:7038: found /usr/bin/i586-mingw32msvc-gcc
configure:7049: result: i586-mingw32msvc-gcc
configure:7065: checking whether i586-mingw32msvc-gcc works
configure:7078: i586-mingw32msvc-gcc -c -g -O2  conftest.c >&5
configure:7078: $? = 0
configure:7079: result: yes

so i had a look at configure and if i understand it correct it simply searches for one of these in your $PATH:
i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc
i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc
i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc
i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc

so to state Maartens question more precisely: where is your mingw32-gcc binary, what's its name and is its path in your $PATH?


Best Regards, André Hentschel

More information about the wine-devel mailing list