OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Qemu-i386
Borealid
post Sep 6 2005, 04:40 PM
Post #1





Group: Members
Posts: 46
Joined: 28-August 05
Member No.: 7,967



Applying the gist of the changes from this message, I have successfully built a qemu-i386 and qemu-img binary on my Zaurus SL-C3100 (inside a Debian chroot).

I hoped to use it to launch wine in user mode, so I grabbed the full i386 deptree of Debian's testing Wine distribution and ran "dpkg -x --instdir=/x86" on each .deb, creating a tree that (theoretically) contains all the x86 binaries and libs that wine needs to run. However, I following Qemu's user-mode documentation, I tried to run /x86/usr/bin/yes and get:

"Unable to load interpreter
Segmentation fault"

The program is able to display its --help just fine.

I'm not at all familiar with cross-compilation and such, which is why I went for the prepackaged i386 environment instead of rolling my own glibc; is the problem there, or is the qemu executable I built somehow bad?

I'd love to get qemu-i386 and wine working together on the Z, and it seems tantalizingly close to possibility... It should be working now, in theory.

Is there any help out there?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Borealid
post Oct 7 2005, 02:57 AM
Post #2





Group: Members
Posts: 46
Joined: 28-August 05
Member No.: 7,967



I believe that Wine under qemu would probably be a superior solution to a full Windows environment under bochs or the like. Not having the massive overhead of a complete Windows implementation might be helpful.

But either way, it requires CPU emulation - either qemu or bochs.
Go to the top of the page
 
+Quote Post
malik
post Oct 9 2005, 12:42 PM
Post #3





Group: Members
Posts: 150
Joined: 8-December 04
Member No.: 5,839



QUOTE(Borealid @ Oct 7 2005, 10:57 AM)
I believe that Wine under qemu would probably be a superior solution to a full Windows environment under bochs or the like.  Not having the massive overhead of a complete Windows implementation might be helpful.

But either way, it requires CPU emulation - either qemu or bochs.
*


hello borealid,

sorry, but i have problems with your ipk. first it is not a real ipk, its a *.tar.gz.
this is not the problem. i unpacked it and ran the binary (qemu --help), that works,
but it does not work if i apply it to a linux binary, for instance a simple hello program.
i have a working, but old version of qemu (0.5.3). any hints? i install the gnemul package
(i386 libraries) from the qemu homepage to /usr/gnemul. which libraries you
installed to start wine with qemu? thank you for your help...

malik
Go to the top of the page
 
+Quote Post
malik
post Oct 9 2005, 01:03 PM
Post #4





Group: Members
Posts: 150
Joined: 8-December 04
Member No.: 5,839



i have to apologize. first i should read the whole thread and then write
something that makes more sense than the above:-) sorry...
Go to the top of the page
 
+Quote Post
malik
post Feb 28 2006, 02:41 AM
Post #5





Group: Members
Posts: 150
Joined: 8-December 04
Member No.: 5,839



hello,

i want to report my similar experiences with qemu onboard compilation:

i also applied the above mentioned patches to the sources of qemu 0.7.1 resp.
0.8 and compiled within pocket workstation. first i got some reference errors in
block.c, so i commented out the last lines of it resp. changed the Makefile.
a step by step compilation (starting without the patches) showed that all patches
seem to be necessary, but the result is n both cases an unbelievable slow
qemu-i386 binary. i was not able to compile a static version.

i was only confused by the different debian packages for sdl and that compared
to my linux desktop "sdl static link" was not available.

maybe i will try to compile within dev-img1.5 or cross compile it. but first i
have to setup these, for instance how can i add libsdl-dev to dev-img?!

malik
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 08:35 AM