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

Octavian Voicu octavian.voicu at gmail.com
Fri Jul 22 09:38:28 CDT 2011

On Fri, Jul 22, 2011 at 5:29 PM, Alexandre Julliard <julliard at winehq.org> 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 separate build tree to cross-compile programs.

I noticed that most programs don't work, but winetest is a special
case and it shouldn't need winelib. I opted to write a generic rule
for that, but this doesn't affect programs that cannot be built like
this, as those targets are not used (unless you run them manually).

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?


More information about the wine-devel mailing list