Hello,
I'm trying to cross-compile some conformance tests. The Winelib tests work, Wine runs the cross-compiled tests, I can produce Win32 apps with MinGW, but I can't run the cross-compiled tests under Win95. Simply running them in a DOS window produces the list of possible tests as expected, but running a real test fails with an Illegal Operation window. What am I missing here? Thanks: Feri.
Ferenc Wagner wrote:
Hello,
I'm trying to cross-compile some conformance tests. The Winelib tests work, Wine runs the cross-compiled tests, I can produce Win32 apps with MinGW, but I can't run the cross-compiled tests under Win95. Simply running them in a DOS window produces the list of possible tests as expected, but running a real test fails with an Illegal Operation window. What am I missing here?
AFAIK This is supposed to work. I have not tried it myself so I can't help much. Which test(s) did you try to run? Do they all produce the same error?
Tony Lambregts tony_lambregts@telusplanet.net writes:
running them in a DOS window produces the list of possible tests as expected, but running a real test fails with an Illegal Operation
AFAIK This is supposed to work. I have not tried it myself so I can't help much. Which test(s) did you try to run? Do they all produce the same error?
Not exactly the same, but very similar ones. Mostly like this (from gdi32_crosstest generated, translated by me):
GDI32_CROSSTEST caused page fault in module GDI32_CROSSTEST.EXE at address 014f:00455a49. Registers: EAX=004559fc CS=014f EIP=00455a49 EFLGS=00010246 EBX=00455a20 SS=0157 ESP=0082fd7c EBP=0082fd84 ECX=c3b9ed7c DS=0157 ESI=00401220 FS=4b5f EDX=bffbf880 ES=0157 EDI=8172b5d8 GS=0000 Bytes from CS:EIP: 64 8b 35 60 00 00 00 a1 70 80 45 00 50 e8 51 08 Stack dump: 00455a20 00401220 0082fd94 00455abd 00455a20 0095049d 0082fda4 0040145b 00401220 00000073 0082fdac 00455258 0082fdb4 00455a04 0082fdc4 00455f4a
For user32 tests I get the same (an other address with nearly the same byte sequence is constant for every test) with the exception of the class test, which faults at a different address. Btw, this is the module I put a new test in. That faults like the majority does. :(
I will try to build these with MSVC 6, but I seldom has access to a computer with that software, and the process isn't much fun altogether (according to the Developers' Manual, which is great, thanks, Francois!)
Feri.
Ferenc Wagner wferi@tba.elte.hu writes:
I will try to build these with MSVC 6
Well, I did so, and it works. What next?
Feri.
Dear Crosstest Users,
please speak up! I'm very interested in hearing about anybody being able to 'make crosstest' and run the tests on native Windows. That would be a great help debugging the problem. Thanks: Feri.
Ferenc Wagner wferi@tba.elte.hu writes:
please speak up! I'm very interested in hearing about anybody being able to 'make crosstest' and run the tests on native Windows. That would be a great help debugging the problem.
They work fine here under NT4.
Alexandre Julliard julliard@winehq.com writes:
They work fine here under NT4.
That's a platform I can't test on, unfortunately...
Michael Stefaniuc mstefani@redhat.de writes:
With self build mingw i couldn't get mingw to link the binaries. The patch in the thread [...] fixed it for me.
I'm using the prebuilt Debian Woody version (2.95.3.7-3, runtime 1.2-1), and the symptoms are: compilation and linking go without a warning, Wine runs the resulting .exe files (with all the tests), but Win95 crashes when I select any test, although running the .exe without command line arguments lists the available tests as expected. (More details were provided in previous articles of this thread.)
I don't know about Windows debugging, but crosscompiling the unit tests would be a major win. Please tell me your ideas! What could I try now? Feri.
Alexandre Julliard julliard@winehq.com writes:
I'm very interested in hearing about anybody being able to 'make crosstest' and run the tests on native Windows.
They work fine here under NT4.
More testing revealed that I can run the tests on Windows 2000 Professional (built on NT technology) and XP (also NT-based, AFAIK). Still no luck with Windows 95, 98 and Me. Maybe NT is the key...
Can anybody run the crosstests on a non-NT Windows platform? Or is Debian's MinGW for NT only? Feri.
On Wed, Mar 05, 2003 at 07:35:17PM +0100, Ferenc Wagner wrote:
Dear Crosstest Users,
please speak up! I'm very interested in hearing about anybody being able to 'make crosstest' and run the tests on native Windows. That would be a great help debugging the problem.
I've seen this problem too with the precompiled mingw packages (links to them are on the mingw homepage). With self build mingw i couldn't get mingw to link the binaries. The patch in this thread http://www.winehq.com/hypermail/wine-devel/2003/02/0123.html fixed it for me.
bye michael