Re: [PATCH 1/3] programs: Add rule for cross-building modules.

2011-07-22 Thread Octavian Voicu
On Fri, Jul 22, 2011 at 5:55 PM, Alexandre Julliard wrote: > No, it won't work anyway. You'd need to duplicate all the rules for the > test resources too, and I don't want to have to make the build process > even more of a mess. The existing crosstest hacks are already bad > enough. I guess I did

Re: [PATCH 1/3] programs: Add rule for cross-building modules.

2011-07-22 Thread Alexandre Julliard
Octavian Voicu writes: > I think it is very useful to be able to compile winetest by using make > crosstest, and the fact that notepad also works is just a bonus (you > would have to do make notepad_cross.exe manually anyway). > > Would a specific rule (just for winetest) be better? No, it won't

Re: [PATCH 1/3] programs: Add rule for cross-building modules.

2011-07-22 Thread Octavian Voicu
On Fri, Jul 22, 2011 at 5:29 PM, Alexandre Julliard wrote: > There's a reason for that. Tests are very limited in what they are > allowed to use from Wine, but programs aren't. In particular you can't > use any of the portability routines or configure check for cross > builds. You really need a se

Re: [PATCH 1/3] programs: Add rule for cross-building modules.

2011-07-22 Thread Alexandre Julliard
Octavian Voicu writes: > Allows cross-building modules similar to how tests are cross-built. > > For each module, a MODULE_cross.exe target is added to cross-build the module. > No other targets are affected. > > Cross-building doesn't work if the module uses libwine or the associated > includes.