I am trying to Recomiple the Wine 1.3.8 for the Arm. I configured as follows,> export CC=arm_v5t_le-gcc > ./configure --prefix=/usr/local/Wine_Arm --host=arm --with-wine-tools=$PWD --without-freetypethen,> makeconfig.status: creating tools/Makefile make[1]: Entering directory `/home/Kanna/wine-1.3.8/tools' arm_v5t_le-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -g -O2 -o makedep.o makedep.c arm_v5t_le-gcc -g -O2 -o makedep makedep.o /home/Kanna/wine-1.3.8/tools/makedep -C. -S.. -T.. fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c /home/Kanna/wine-1.3.8/tools/makedep: /home/Kanna/wine-1.3.8/tools/makedep: cannot execute binary file I am getting the above error, because i am using x86 for cross-compiling the wine to ARM, the makedep is compiled for ARM, so it cannot run on the x86. Please help to compile the Wine for ARM Platform. Regards, Kannadasan S.
eyedasan wrote:> I am getting the above error, because i am using x86 for cross-compiling the wine to ARM, the makedep is compiled for ARM, so it cannot run on the x86.If you cross-compiling you'll need to point Wine to x86 build directory. Ex: Code: mkdir /home/Kanna/wine-linux-build mkdir /home/Kanna/wine-arm-build cd /home/Kanna/wine-linux-build ../wine-1.3.8/configure && make cd /home/Kanna/wine-arm-build ../wine-1.3.8/configure --host=arm --with-wine-tools=../wine-linux-build make
eyedasan <wineforum-user at winehq.org> wrote:> >Hi Vitamin, > >After compiling the wine to ARM, can we able to run the windows exe directly or we need the Source of that particular >windows application?I'm not vitamin, but most (if not all) Windows applications are written and compiled for the following: x86 processor architecture. 640x480 or larger screen size. Thus you might need an x86 emulator and a larger screen. I'm not all that familiar with the internal workings of the ARM processor to know if it comes with a hardware emulator (best solution) or if a software emulator (worst solution) is needed. The same is true for the PowerPC (PPC/G3/G4/G5) family of processors. There may be some Windows CE applications that are compiled to run on the ARM architecture, but I'm not aware of any. James McKenzie
Martin Gregorie <martin at gregorie.org> wrote:> >IOW, both the ARM version of Wine and the ARM app will need to be run >under an ARM emulator on a Linux box. >I think you meant to say "Both the ARM versions of Wine and the application will need to be run under an ARM emulator on an x86 processor based system" This is reversely true of attempting to run an x86 application on ARM Wine on an ARM system would require an x86 emulator to interpet the x86 code to ARM code. It is best to build ARM Wine and recompile the x86 application into an ARM Winelib application as vitamin pointed out. James McKenzie