Re: Cross-compiling with winelib

2005-06-23 Thread Eric Frias
Alexandre Julliard wrote: I think the right way is to get rid of the #ifdefs, but not by pushing them into the .spec.c file but my making the target a run-time option. I've been meaning to do this for a while now, I was just waiting for someone to actually need that feature ;-) Fantastic! Thos

Re: Cross-compiling with winelib

2005-06-23 Thread Alexandre Julliard
Eric Frias <[EMAIL PROTECTED]> writes: > I see two basic ways we can accomplish this. We could either use > autoconf's --target flag to specify the target architecture, and then > replace all of the "#ifdef __sparc__" statements in winebuild with > "#ifdef __target_arch_sparc". I came across an

Cross-compiling with winelib

2005-06-23 Thread Eric Frias
We're working on setting up an environment to cross-compile a winelib application (initially from x86 linux to sparc solaris). To do this, we need a cross-compiling version of winebuild which will generate the assembly code for the target architecture instead of the build architecture. I see