Running unit tests on Windows

Uwe Bonnes bon at
Thu May 9 17:33:08 CDT 2002

>>>>> "Jakob" == Jakob Eriksson <jakob at> writes:

    Jakob> On Thu, May 09, 2002 at 09:47:56PM +0200, Uwe Bonnes wrote:

    >> I prefer compiling the windows executable with mingw on linux too.

    Jakob> How do you go about crosscompiling the tests?  I have managed to
    Jakob> do "hello world" style programs with cross-mingw, but to compile
    Jakob> the Wine tests I don't know how to do...

I said I's "prefer". I haven't used the test suite yet. 
For problemetic things I still write normal C-Programs to crosscompile with
mingw and run with vmware...

    Jakob> When I try to compile a slightly modified
    Jakob> dlls/kernel/tests/file.c

    Jakob> I get this:

    Jakob> jakov at black:/tmp> jakov at black:/tmp> i586-mingw32msvc-gcc file.c
    Jakob> /usr/lib/gcc-lib/i586-mingw32msvc/2.95.3-7/../../../../i586-mingw32msvc/lib/libmingw32.a(main.o)(.text+0x8f):
    Jakob> undefined reference to `WinMain at 16'

mingw is 32 bit and nothing else...

    Jakob> (I guess somewhere in here the project of keeping mingw, ReactOS
    Jakob> and Wine headers in sync come into play... BTW I've noticed the
    Jakob> ReactOS people seem to feel a little ignored by Wine.)


Uwe Bonnes                bon at

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list