<solved> Make Crosstest

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

<solved> Make Crosstest

Post by André H. »

Hi,
if i run "make crosstest" after ./configure and make it generates exe-files
i can run them in wine with expected results, but if i run them under windows xp(32-bit) i get "Program too big to fit in memory" as only response.
Why?

running Ubuntu 8.10 64-Bit
wine GIT from today
mingw32 4.2.1
Last edited by André H. on Fri Jan 16, 2009 11:39 am, edited 1 time in total.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Make Crosstest

Post by austin987 »

2009/1/15 André H. <[email protected]>:
Hi,
if i run "make crosstest" after ./configure and make it generates exe-files
i can run them in wine with expected results, but if i run them under windows xp(32-bit) i get "Program too big to fit in memory" as only response.
Why?

running Ubuntu 8.10 64-Bit
wine GIT from today
mingw32 4.2.1





Are you building wine as 32bit or 64bit?

--
-Austin
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

i do just ./configure and make without options.
should i force 32-bit? how?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Make Crosstest

Post by austin987 »

2009/1/15 André H. <[email protected]>:
i do just ./configure and make without options.
should i force 32-bit? how?
Try:

$ CC="gcc -m32" ./configure

Though it could still be a wine bug, I don't know to be honest.

--
-Austin
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

Well, that didnt help.

the crosstest has its own object-files called .cross.o
and it uses mingw32, so it should not be a problem
hell, whats that?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Make Crosstest

Post by austin987 »

2009/1/16 André H. <[email protected]>:
Well, that didnt help.

the crosstest has its own object-files called .cross.o
and it uses mingw32, so it should not be a problem
I see Alexandre committed something semi-relevant:
http://source.winehq.org/git/wine.git/? ... 303a910658

Though, I've avoided the whole 64-bit mess. I used 64-bit when it
first was supported (for distro, not Wine), but didn't see any real
advantage, but way too many headaches.
hell, whats that?
mingw32? It's a build environment to build windows binaries on Linux
(possibly other OS's, I'm not sure).

--
-Austin
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

damn, the failure was sitting on the screen :oops:
i searched and used the exe in programs/winetest but the right one is in dlls/<component>/test
Sorry
James McKenzie

Make Crosstest

Post by James McKenzie »

Austin English wrote:
2009/1/16 André H. <[email protected]>:

mingw32? It's a build environment to build windows binaries on Linux
(possibly other OS's, I'm not sure).

There's one for MacOSX that somewhat works. Needed to support Jet40
support for Mono under the Mac. That's one reason I don't use plain
Mono here for one of the programs I'm testing for compatibility with Wine.

James McKenzie
Locked