Running solitaire on Arm, Droid4, Ubuntu chroot

Questions about Wine on Linux
Locked
User avatar
orokusaki
Level 2
Level 2
Posts: 16
Joined: Sat Oct 13, 2012 8:08 pm

Running solitaire on Arm, Droid4, Ubuntu chroot

Post by orokusaki »

Notes to get X86 binaries to run on ARM.
Image

Works on my droid 4. Just ran notepad... Droid 4 has binfmt compiled into the kernel... unlike cyanogenmod 7 and the droid1... I had to compile that in...

The HP Touchpad did not have binfmt_support..

If you do not have binfmt support and binfmt in the kernel, you will have to run wineserver first, then wine-pthread, every time you run an app.

If you do have binfmt, then you can do the directions on page5 and and echo and registry qemu and then you can run wine-pthread every time you run an app without having to run wineserver first.

I used my http://www.onsitedentalsystems.com/wine.tar.gz

************************************************** *****************
Directions I used for wine.tar.gz if you do not have binfmt
what to do with wine.tar.gz

*Move everything from bin into your /usr/bin
*Move gnemul to your /usr (this has libraries from Slackware that had Wine 0.93.4, more libraries then you need)
*Move wine folder to your /usr/lib so you have /usr/lib/wine

mkdir /user/.wine
unzip wine.zip /user/.wine
fix dosdevices.
cd /user/.wine/dosdevices
ln -s ../c_drive c:

*when I say fix dosdevices make it to where this is a valid path
/root/.wine/dosdevices/c:/windows get it?
*my user is root so mkdir /root/.wine


then run
/usr/bin/qemu-i386 /usr/bin/wineserver
/usr/bin/qemu-i386 /usr/bin/wine-pthread notepad.exe

See what happens.. what errors you get.

Dont forget the files you copy into /usr/bin must be executable
chmod 755 wine*

Dont forget you may need to export display
=============================================
If you do have binfmt
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/home/user/qemu-i386:' >/proc/sys/fs/binfmt_misc/register

then you can just do
/usr/bin/qemu-i386 /usr/bin/wine-pthread notepad.exe
everytime.
==============================================
HOW TO COMPILE ON ARM AND UBUNTU 12.04


This will run wine if you compile with 0.13 or 0.14

sudo apt-get install zlib1g-dev
sudo apt-get install libsdl1.2-dev
./configure --target-list=i386-linux-user --enable-sdl --prefix=/usr --cross-prefix=arm-linux-gnueabi- --host-cc=gcc4.6 --extra-cflags=-marm --cpu=armv4l
make
sudo make install

Works great on Droid4 with Ubuntu 12.04 Chroot. Well... solitaire does...
User avatar
orokusaki
Level 2
Level 2
Posts: 16
Joined: Sat Oct 13, 2012 8:08 pm

Re: Running solitaire on Arm, Droid4, Ubuntu chroot

Post by orokusaki »

Here is my HP Touchpad running Ubuntu without Chroot (native)

Running Wine 1.0.1 and Qemu 0.14

and 3D Pinball Space Cadet
Image
User avatar
orokusaki
Level 2
Level 2
Posts: 16
Joined: Sat Oct 13, 2012 8:08 pm

Re: Running solitaire on Arm, Droid4, Ubuntu chroot

Post by orokusaki »

Qemu 2.4.1 can now run Wine unpatched!
:D
Locked