QEMU+WINE
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 64 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet).
I'm interested on moving forward with that, but not sure on how to continue.Quoted 36 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1 tool) on a Mac OS X host. Going deeper is more tricky since we have to emulate linux syscall and behaviour. Basically having qemu-user running on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.
Pierre.
Quoted 11 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?
http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel
No, but I didn't ask much on the qemu-devel list, so probably that's why. I agree that a darwin-i386-user should be easier to achieve, as some linux syscalls and structs are different on Darwin.
Quoted 86 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 68 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet). I'm interested on moving forward with that, but not sure on how to continue.
Quoted 38 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1 tool) on a Mac OS X host. Going deeper is more tricky since we have to emulate linux syscall and behaviour. Basically having qemu-user running
on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.Pierre.
Quoted 11 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?
http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel
Hi,
did you try to build and run qruncom, i can't get it work.
./qruncom pi_10.com
qemu: SIGSEGV pc=0x001708a0 address=001708a0 w=1 oldset=0x00000000 unhandled cpu_exec return code (0xe)
EAX=00000000 EBX=00000000 ECX=000000ff EDX=00000600 ESI=00000100 EDI=0000fffe EBP=00000900 ESP=0000fffc
EIP=00000100 EFL=00020202 [-------] CPL=3 II=0 A20=1
ES =1000 00010000 0000ffff 00000000
CS =1000 00010000 0000ffff 00000000
SS =1000 00010000 0000ffff 00000000
DS =1000 00010000 0000ffff 00000000
FS =1000 00010000 0000ffff 00000000
GS =1000 00010000 0000ffff 00000000
LDT=0000 00000000 0000ffff 00008000
TR =0000 00000000 0000ffff 00008000
GDT= 00000000 0000ffff
IDT= 0016d850 000007ff
CR0=80010001 CR2=001708a0 CR3=00000000 CR4=00000000
Pierre or Pablo can you send me a patch with your i386-user work, no doubt that it can be more useful than my actual hack.
thanks
emmanuel
Quoted 103 lines · Pablo Bendersky
No, but I didn't ask much on the qemu-devel list, so probably that's why. I agree that a darwin-i386-user should be easier to achieve, as some linux syscalls and structs are different on Darwin.
Quoted 6 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Quoted 80 lines
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 68 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet). I'm interested on moving forward with that, but not sure on how to continue.
Quoted 38 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1 tool) on a Mac OS X host. Going deeper is more tricky since we have to emulate linux syscall and behaviour. Basically having qemu-user running
on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.Pierre.
Quoted 11 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?
http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel
I get the same error with my hack... Weird. Is it the same on a linux-host?
Pierre.
Quoted 146 lines · emmanuel maillard
Hi,
did you try to build and run qruncom, i can't get it work.
./qruncom pi_10.com
qemu: SIGSEGV pc=0x001708a0 address=001708a0 w=1 oldset=0x00000000 unhandledcpu_execreturn code (0xe)
EAX=00000000 EBX=00000000 ECX=000000ff EDX=00000600 ESI=00000100 EDI=0000fffe EBP=00000900 ESP=0000fffc
EIP=00000100 EFL=00020202 [-------] CPL=3 II=0 A20=1
ES =1000 000100000000ffff00000000
CS =1000 000100000000ffff00000000
SS =1000 000100000000ffff00000000
DS =1000 000100000000ffff00000000
FS =1000 000100000000ffff00000000
GS =1000 000100000000ffff00000000
LDT=0000 000000000000ffff00008000
TR =0000 000000000000ffff00008000
GDT= 000000000000ffff
IDT=0016d850000007ff
CR0=80010001 CR2=001708a0 CR3=00000000 CR4=00000000Pierre or Pablo can you send me a patch with your i386-user work, no doubt that it can be more useful than my actual hack.
thanks
emmanuel
Quoted 93 lines · Pablo Bendersky
No, but I didn't ask much on the qemu-devel list, so probably that's why. I agree that a darwin-i386-user should be easier to achieve, as some linux syscalls and structs are different on Darwin.
Quoted 6 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Quoted 80 lines
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 68 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet). I'm interested on moving forward with that, but not sure on how to continue.
Quoted 38 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1 tool) on a Mac OS X host. Going deeper is more tricky since we have to emulate linux syscall and behaviour. Basically having qemu-user running
on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.Pierre.
Quoted 11 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?
http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel
Here's a patch from my working copy to the CVS.
It's mostly a patch that Pierre sent me with a few additions, to make the getdents syscall work.
It is able to run sha1 and ls (but not with all the options). I haven't tried qruncom (I'm actually new to both qemu and darwine).
Quoted 22 lines · emmanuel maillard
Hi,
did you try to build and run qruncom, i can't get it work.
../qruncom pi_10.com
qemu: SIGSEGV pc=0x001708a0 address=001708a0 w=1 oldset=0x00000000 unhandledcpu_execreturn code (0xe)
EAX=00000000 EBX=00000000 ECX=000000ff EDX=00000600 ESI=00000100 EDI=0000fffe EBP=00000900 ESP=0000fffc
EIP=00000100 EFL=00020202 [-------] CPL=3 II=0 A20=1
ES =1000 000100000000ffff00000000
CS =1000 000100000000ffff00000000
SS =1000 000100000000ffff00000000
DS =1000 000100000000ffff00000000
FS =1000 000100000000ffff00000000
GS =1000 000100000000ffff00000000
LDT=0000 000000000000ffff00008000
TR =0000 000000000000ffff00008000
GDT= 000000000000ffff
IDT=0016d850000007ff
CR0=80010001 CR2=001708a0 CR3=00000000 CR4=00000000
Quoted 123 lines
Pierre or Pablo can you send me a patch with your i386-user work, no doubt that it can be more useful than my actual hack.
thanks
emmanuel
Quoted 110 lines · Pablo Bendersky
No, but I didn't ask much on the qemu-devel list, so probably that's why. I agree that a darwin-i386-user should be easier to achieve, as some linux syscalls and structs are different on Darwin.
Quoted 6 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Quoted 86 lines
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 74 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet). I'm interested on moving forward with that, but not sure on how to continue.
Quoted 42 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1
tool) on a Mac OS X host. Going deeper is more tricky since we have to
emulate linux syscall and behaviour. Basically having qemu-user running
on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it
is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.Pierre.
Quoted 12 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it
can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel
? patch
? qemu-mkcow
? vmdk2raw
Index: Makefile.target
===================================================================
RCS file: /cvsroot/qemu/qemu/Makefile.target,v
retrieving revision 1.39
diff -r1.39 Makefile.target
104a105,107
Quoted 3 lines
ifdef
CONFIG_DARWIN
LDFLAGS+=-W$(SRC_PATH)/ppc.ld
else
106a110
Quoted 1 line
endif
Index: bswap.h
===================================================================
RCS file: /cvsroot/qemu/qemu/bswap.h,v
retrieving revision 1.4
diff -r1.4 bswap.h
9a10,14
Quoted 5 lines
#elif
defined(__APPLE__)
#include <machine/byte_order.h>
#definebswap_16(x)NXSwapShort(x)
#definebswap_32(x)NXSwapInt(x)
#definebswap_64(x)NXSwapLongLong(x)
Index: cpu-exec.c
===================================================================
RCS file: /cvsroot/qemu/qemu/cpu-exec.c,v
retrieving revision 1.38
diff -r1.38 cpu-exec.c
812c812
< int cpu_signal_handler(int host_signum, struct siginfo *info,
---
Quoted 1 line
int cpu_signal_handler(int
host_signum, struct__siginfo*info,
906c906
< int cpu_signal_handler(int host_signum, struct siginfo *info,
---
Quoted 1 line
int cpu_signal_handler(int
host_signum, struct__siginfo*info,
Index: dyngen-exec.h
===================================================================
RCS file: /cvsroot/qemu/qemu/dyngen-exec.h,v
retrieving revision 1.15
diff -r1.15 dyngen-exec.h
38,40d37
< typedef signed char int8_t;
< typedef signed short int16_t;
< typedef signed int int32_t;
59a57,60
Quoted 4 lines
#ifdef
__APPLE__
/* stdin, stdout, stderr special declaration */
#include <stdio.h>
#else
60a62
Quoted 1 line
#endif
Index: linux-user/ioctls.h
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/ioctls.h,v retrieving revision 1.8
diff -r1.8 ioctls.h
2c2,5
<
---
Quoted 4 lines
#ifdef
__APPLE__
#define TCGETS0x5401
IOCTL_STRANGE(TCGETS, TIOCGETA, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios)))
#else
6a10
Quoted 1 line
#endif
9a14,16
Quoted 3 lines
#ifdef
__APPLE__
//IOCTL_STRANGE(TCGETA, TIOCGETA, IOC_R, MK_PTR(TYPE_INT))
#else
17a25
Quoted 1 line
#endif
28a37
Quoted 1 line
#ifndef
__APPLE__
31a41
Quoted 1 line
#endif
32a43
Quoted 1 line
#ifndef
__APPLE__
34a46
Quoted 1 line
#endif
35a48
Quoted 1 line
#ifndef
__APPLE__
36a50
Quoted 1 line
#endif
39a54
Quoted 1 line
#ifndef
__APPLE__
40a56,57
Quoted 2 lines
#endif
#ifndef__APPLE__
41a59,60
Quoted 2 lines
#endif
#ifndef__APPLE__
53c72,73
<
---
Quoted 2 lines
#endif
#ifndef__APPLE__
59c79,80
<
---
Quoted 2 lines
#endif
#ifndef__APPLE__
69a91
Quoted 1 line
#endif /*
__APPLE__*/
76a99
Quoted 1 line
#ifndef
__APPLE__
117c140,141
<
---
Quoted 2 lines
#endif
#ifndef__APPLE__
152c176
<
---
Quoted 1 line
#endif /*
__APPLE__*/
164a189
Quoted 1 line
#ifndef
__APPLE__
187a213
Quoted 1 line
#endif /*
__APPLE__*/
228a255
Quoted 1 line
#ifndef
__APPLE__
283c310,311
<
---
Quoted 2 lines
#endif
#ifndef__APPLE__
302a331
Quoted 1 line
#endif /*
__APPLE__*/
\ No newline at end of file
Index: linux-user/mmap.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/mmap.c,v
retrieving revision 1.7
diff -r1.7 mmap.c
30c30,34
< //#define DEBUG_MMAP
---
Quoted 5 lines
#define
DEBUG_MMAP#if
defined(__APPLE__)&&defined(DEBUG_MMAP)
#defineMAP_TYPE0x0f
#endif //__APPLE__&&DEBUG_MMAP
126a131
Quoted 1 line
#ifndef
__APPLE__
127a133,135
Quoted 3 lines
#else if ((flags & MAP_SHARED) &&#endif
243a252
Quoted 1 line
#ifndef
__APPLE__
244a254,256
Quoted 3 lines
#else if ((flags & MAP_SHARED) &&#endif
370a383
Quoted 1 line
#ifndef
__APPLE__
372a386,389
Quoted 4 lines
#else munmap((void *)old_addr, old_size); new_addr = mmap((void *)old_addr, new_size, prot, flags, NULL, 0);#endif
Index: linux-user/signal.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/signal.c,v retrieving revision 1.23
diff -r1.23 signal.c
38c38
< //#define DEBUG_SIGNAL
---
Quoted 1 line
#define
DEBUG_SIGNAL
95a96
Quoted 1 line
#ifdef SIGPWR
96a98
Quoted 1 line
#endif
206a209
Quoted 1 line
#ifndef
__APPLE__
223a227,229
Quoted 3 lines
#else printf("host_to_target_siginfo_noswap not supprted\n");#endif
256a263
Quoted 1 line
#ifndef
__APPLE__
263a271,273
Quoted 3 lines
#else printf("target_to_host_siginfo not supported\n");#endif
Index: linux-user/syscall.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/syscall.c,v retrieving revision 1.50
diff -r1.50 syscall.c
20d19
< #include <stdlib.h>
21a21
Quoted 1 line
#include <
stdlib.h>
24a25
Quoted 1 line
#ifndef
__APPLE__
25a27
Quoted 1 line
#endif
36a39
Quoted 1 line
#ifndef
__APPLE__
37a41
Quoted 1 line
#endif
40d43
< #include <sys/socket.h>
46c49
< #include <sys/sysinfo.h>
---
Quoted 1 line
//#include <
sys/sysinfo.h>
47a51,67
Quoted 11 lines
#include <
sys/types.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
//#include <netinet/in6.h>
#include <net/ethernet.h>
#include <net/if_arp.h>
Quoted 6 lines
#ifdef
__APPLE__
#include <sys/dirent.h>
#endif //__APPLE__#include <
sys/socket.h>
#include <netinet/in.h>
57c77,81
<
---
Quoted 5 lines
#ifdef
__APPLE__
#include <sys/termios.h>
#include <sys/ioctl.h>
#endif
#ifndef__APPLE__
65a90,92
Quoted 3 lines
#else
#include <sys/syscall.h>
#endif
69c96,107
< //#define DEBUG
---
Quoted 12 lines
// #define DEBUG
#ifdef
__APPLE__
#definesys_unameuname
#definesys_statfsstatfs
#definesys_fstatfsfstatfs
#definesys_getcwd1getcwd
#definesys_rt_sigqueueinfort_sigqueueinfo
#endif
#ifndefCMSG_ALIGN
#defineCMSG_ALIGN(n)(((n) + 3) & ~3)
#endif
140a179,182
Quoted 4 lines
#ifdef
__APPLE__#define __sc_loadargs_0(name, dummy...) \ __sc_0 = SYS_##name#elif
__linux__
142a185
Quoted 1 line
#endif
202a246
Quoted 1 line
#ifdef
__linux__
221a266,268
Quoted 3 lines
#endif /*
__linux__*/#ifdef
__linux__
233a281,284
Quoted 4 lines
#elif
defined(__APPLE__)
//_syscall2(int,statfs,const char *,path,structkernel_statfs*,buf) //_syscall2(int,fstatfs,int,fd,structkernel_statfs*,buf) #endif /*__linux__*/
242a294
Quoted 1 line
#ifndef
__APPLE__
243a296
Quoted 1 line
#endif
272c325,330
<
---
Quoted 6 lines
// PGB
#ifdef DEBUG gemu_log(" new_brk 0x%x, target_original_brk 0x%x\n", new_brk, target_original_brk);#endif // DEBUG
287a346
Quoted 1 line
#if !defined(__APPLE__)
290a350,354
Quoted 5 lines
#else
mapped_addr= get_errno(target_mmap((unsigned long)brk_page,new_alloc_size,
PROT_READ|PROT_WRITE, MAP_ANON|MAP_FIXED|MAP_PRIVATE, -1, 0));
#endif //__APPLE__
535a600
Quoted 1 line
#ifndef
__APPLE__
601a667,670
Quoted 4 lines
#else gemu_log("do_setsockopt not yet supported\n"); return -ENOSYS;#endif
614a684
Quoted 1 line
#ifdef
SO_PEERCRED
615a686,687
Quoted 2 lines
#endif
#ifdefSO_PEERNAME
616a689
Quoted 1 line
#endif
949a1023
Quoted 1 line
#ifdef
SHM_LOCK
950a1025,1026
Quoted 2 lines
#endif
#ifdefSHM_LOCK
951a1028,1029
Quoted 2 lines
#endif
1000a1079,1080
Quoted 2 lines
#define
IOCTL_STRANGE(target_cmd, host_cmd, access, types...)\
{TARGET_##target_cmd,host_cmd, #host_cmd, access, { types } },
1024c1104
< gemu_log("ioctl: cmd=0x%04lx (%s)\n", cmd, ie->name);
---
Quoted 1 line
gemu_log("ioctl: cmd=0x%04lx (%s) arg_type[0]:0x%x\n", cmd, ie->name, arg_type[0]);1067a1148
Quoted 1 line
#ifdef IGNBRK
1068a1150,1151
Quoted 2 lines
#endif
#ifdef BRKINT
1069a1153,1154
Quoted 2 lines
#endif
#ifdef IGNPAR
1070a1156,1157
Quoted 2 lines
#endif
#ifdef PARMRK
1071a1159,1160
Quoted 2 lines
#endif
#ifdef INPCK
1072a1162,1163
Quoted 2 lines
#endif
#ifdef ISTRIP
1073a1165,1166
Quoted 2 lines
#endif
#ifdef INLCR
1074a1168,1169
Quoted 2 lines
#endif
#ifdef IGNCR
1075a1171,1172
Quoted 2 lines
#endif
#ifdef ICRNL
1076a1174,1175
Quoted 2 lines
#endif
#ifdef IUCLC
1077a1177,1178
Quoted 2 lines
#endif
#ifdef IXON
1078a1180,1181
Quoted 2 lines
#endif
#ifdef IXANY
1079a1183,1184
Quoted 2 lines
#endif
#ifdef IXOFF
1080a1186,1187
Quoted 2 lines
#endif
#ifdef IMAXBEL
1081a1189
Quoted 1 line
#endif
1085a1194
Quoted 1 line
#ifdef OPOST
1086a1196,1197
Quoted 2 lines
#endif
#ifdef OLCUC
1087a1199,1200
Quoted 2 lines
#endif
#ifdef OLCUC
1088a1202,1203
Quoted 2 lines
#endif
#ifdef OCRNL
1089a1205,1206
Quoted 2 lines
#endif
#ifdef ONOCR
1090a1208,1209
Quoted 2 lines
#endif
#ifdef ONLRET
1091a1211,1212
Quoted 2 lines
#endif
#ifdef OFILL
1092a1214,1215
Quoted 2 lines
#endif
#ifdef OFDEL
1093a1217,1218
Quoted 2 lines
#endif
#ifdef NL0
1094a1220,1221
Quoted 2 lines
#endif
#ifdef NL1
1095a1223,1224
Quoted 2 lines
#endif
#ifdef CR0
1096a1226,1227
Quoted 2 lines
#endif
#ifdef CR1
1097a1229,1230
Quoted 2 lines
#endif
#ifdef CR2
1098a1232,1233
Quoted 2 lines
#endif
#ifdef CR3
1099a1235,1236
Quoted 2 lines
#endif
#ifdef TAB0
1100a1238,1239
Quoted 2 lines
#endif
#ifdef TAB1
1101a1241,1242
Quoted 2 lines
#endif
#ifdef TAB2
1102a1244,1245
Quoted 2 lines
#endif
#ifdef TAB3
1103a1247,1248
Quoted 2 lines
#endif
#ifdef BS0
1104a1250,1251
Quoted 2 lines
#endif
#ifdef BS1
1105a1253,1254
Quoted 2 lines
#endif
#ifdef VT0
1106a1256,1257
Quoted 2 lines
#endif
#ifdef VT1
1107a1259,1260
Quoted 2 lines
#endif
#ifdef FF0
1108a1262,1263
Quoted 2 lines
#endif
#ifdef FF1
1109a1265
Quoted 1 line
#endif
1113a1270
Quoted 1 line
#ifdef CBAUD
1133a1291
Quoted 1 line
#endif
1150a1309
Quoted 1 line
#ifdef XCASE
1151a1311
Quoted 1 line
#endif
1179a1340
Quoted 1 line
#ifndef
__APPLE__
1180a1342
Quoted 1 line
#endif
1188,1189c1350,1353
< host->c_cc[VMIN] = target->c_cc[TARGET_VMIN];
< host->c_cc[VSWTC] = target->c_cc[TARGET_VSWTC];
---
Quoted 4 lines
host->c_cc[VMIN] = target->c_cc[TARGET_VMIN]; #ifdef VSWTC host->c_cc[VSWTC] = target->c_cc[TARGET_VSWTC];#endif
1213a1378
Quoted 1 line
#ifndef
__APPLE__
1215c1380,1381
<
---
Quoted 2 lines
#endif
1222a1389
Quoted 1 line
#ifdef VSWTC
1223a1391
Quoted 1 line
#endif
1245a1414
Quoted 1 line
#ifdef
MAP_GROWSDOWN
1246a1416,1417
Quoted 2 lines
#endif
#ifdefMAP_DENYWRITE
1247a1419,1420
Quoted 2 lines
#endif
#ifdefMAP_EXECUTABLE
1248a1422,1423
Quoted 2 lines
#endif
#ifdefMAP_LOCKED
1249a1425
Quoted 1 line
#endif
1261a1438
Quoted 1 line
#ifdef
O_SYNC
1262a1440
Quoted 1 line
#endif
1263a1442
Quoted 1 line
#ifdef
O_DIRECTORY
1264a1444
Quoted 1 line
#endif
1405a1586
Quoted 1 line
#ifndef
__APPLE__
1458a1640,1643
Quoted 4 lines
#else printf("do_fork not supported\n"); return -EINVAL;#endif
1707a1893
Quoted 1 line
#ifndef
__APPLE__
1710a1897,1898
Quoted 2 lines
#endif
#ifndef__APPLE__
1718a1907
Quoted 1 line
#endif
1815a2005
Quoted 1 line
#ifndef
__APPLE__
1818a2009
Quoted 1 line
#endif
1898a2090
Quoted 1 line
#ifndef
__APPLE__
1910a2103
Quoted 1 line
#endif
2009a2203
Quoted 1 line
#ifndef
__APPLE__
2032a2227,2228
Quoted 2 lines
#endif
#ifndef__APPLE__
2039a2236
Quoted 1 line
#endif
2127a2325
Quoted 1 line
#ifndef
__APPLE__
2130a2329
Quoted 1 line
#endif
2280a2480
Quoted 1 line
2283a2484
Quoted 1 line
2293c2494,2498
< #if defined(TARGET_PPC)
---
Quoted 5 lines
#if defined(__APPLE__) target_st->st_mode = tswap16(st.st_mode); /* XXX: check this */ target_st->st_uid = tswap32(st.st_uid); target_st->st_gid = tswap32(st.st_gid);#elif
defined(TARGET_PPC)
2320a2526
Quoted 1 line
#ifndef
__APPLE__
2323a2530
Quoted 1 line
#endif
2347a2555
Quoted 1 line
#ifndef
__APPLE__
2350a2559,2560
Quoted 2 lines
#endif
#ifndef__APPLE__
2374a2585
Quoted 1 line
#endif
2425a2637
Quoted 1 line
//#ifndef
__APPLE__
2427c2639
< ret = get_errno(personality(arg1));
---
Quoted 1 line
ret = 0;//get_errno(personality(arg1));
2428a2641
Quoted 1 line
//#endif
2430a2644
Quoted 1 line
//#ifndef
__APPLE__
2433c2647,2651
< #if defined (__x86_64__)
---
Quoted 5 lines
#if defined (__APPLE__) ret = get_errno(lseek(arg1, ((uint64_t)arg2 << 32) | arg3, \ arg5)); *(int64_t *)arg4 = tswap64(ret);#elif defined (
__x86_64__)
2435c2653
< *(int64_t *)arg4 = ret;
---
Quoted 1 line
*(int64_t *)arg4 = tswap64(ret);
2442a2661
Quoted 1 line
//#endif
2444c2663,2703
< #if TARGET_LONG_SIZE != 4
---
Quoted 40 lines
#if defined (__APPLE__)
{
struct target_dirent *target_de = (void *)arg2;
unsigned short target_reclen;
struct dirent *de;
struct dirent *buffer;
long count = arg3;
int ret2 = 0;
long basep = 0;
buffer = (struct dirent *) malloc(count);
if (!buffer)
return -ENOMEM;
ret = get_errno(getdirentries(arg1, buffer, count, &basep));
if (!is_error(ret)) {
de = (struct dirent *) buffer;
while (ret > 0 && de->d_reclen > 0) {
target_de->d_ino = tswapl(de->d_fileno);
target_de->d_off = 0;
target_reclen = sizeof(target_de->d_ino) + \
sizeof(target_de->d_off) + \
sizeof(target_de->d_reclen) + \
strlen(de->d_name) +1;
target_de->d_reclen = tswap16(target_reclen);
strcpy(target_de->d_name, de->d_name);
ret -= de->d_reclen;
ret2 += target_reclen;
((char *) de) += de->d_reclen;
((char *) target_de) += target_reclen;
}
ret = ret2;
}
free(buffer);
}Quoted 1 line
#elif
TARGET_LONG_SIZE!= 4
2510a2770
Quoted 1 line
#ifndef
__APPLE__
2535a2796
Quoted 1 line
#endif
2598a2860
Quoted 1 line
#ifndef
__APPLE__
2601a2864
Quoted 1 line
#endif
2603a2867
Quoted 1 line
#ifndef
__APPLE__
2611a2876,2877
Quoted 2 lines
#endif
#ifndef__APPLE__
2621a2888,2889
Quoted 2 lines
#endif
#ifndef__APPLE__
2629a2898,2899
Quoted 2 lines
#endif
#ifndef__APPLE__
2632a2903
Quoted 1 line
#endif
2641a2913
Quoted 1 line
#ifndef
__APPLE__
2652a2925
Quoted 1 line
#endif
2700a2974
Quoted 1 line
#ifndef
__APPLE__
2703a2978
Quoted 1 line
#endif
2755a3031
Quoted 1 line
#ifndef
__APPLE__
2758a3035
Quoted 1 line
#endif
2807a3085
Quoted 1 line
#ifndef
__APPLE__
2814a3093,3094
Quoted 2 lines
#endif
#ifndef__APPLE__
2827a3108,3109
Quoted 2 lines
#endif
#ifndef__APPLE__
2834a3117,3118
Quoted 2 lines
#endif
#ifndef__APPLE__
2847a3132
Quoted 1 line
#endif
2856a3142
Quoted 1 line
#ifndef
__APPLE__
2859a3146,3147
Quoted 2 lines
#endif
#ifndef__APPLE__
2862a3151
Quoted 1 line
#endif
2864c3153
<
---
Quoted 1 line
#ifndef
__APPLE__
2867a3157
Quoted 1 line
#endif
2892a3183
Quoted 1 line
#ifndef
__APPLE__
2895a3187,3188
Quoted 2 lines
#endif
#ifndef__APPLE__
2906a3200,3201
Quoted 2 lines
#endif
#ifndef__APPLE__
2909a3205,3206
Quoted 2 lines
#endif
#ifndef__APPLE__
2920a3218
Quoted 1 line
#endif
2929a3228
Quoted 1 line
#ifndef
__APPLE__
2932a3232,3233
Quoted 2 lines
#endif
#ifndef__APPLE__
2935a3237
Quoted 1 line
#endif
2947a3250
Quoted 1 line
#ifndef
__APPLE__
2979a3283
Quoted 1 line
#endif /* APPLE */
2989a3294
Quoted 1 line
#ifndef
__APPLE__
2992a3298
Quoted 1 line
#endif
Index: target-i386/cpu.h
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/cpu.h,v retrieving revision 1.18
diff -r1.18 cpu.h
444,445c444,445
< struct siginfo;
< int cpu_x86_signal_handler(int host_signum, struct siginfo *info,
---
Quoted 2 lines
struct
__siginfo;
int cpu_x86_signal_handler(inthost_signum, struct__siginfo*info,
446a447
Quoted 1 line
Index: target-ppc/helper.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-ppc/helper.c,v retrieving revision 1.15
diff -r1.15 helper.c
29a30
Quoted 1 line
Index: target-ppc/op_helper.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-ppc/op_helper.c,v retrieving revision 1.8
diff -r1.8 op_helper.c
466a467
Quoted 1 line
Thanks
I will take a look on it.
But sadly Pierre's got the same error with it's own hack :-/
emmanuel
Quoted 154 lines · Pablo Bendersky
Here's a patch from my working copy to the CVS.
It's mostly a patch that Pierre sent me with a few additions, to make the getdents syscall work.
It is able to run sha1 and ls (but not with all the options). I haven't tried qruncom (I'm actually new to both qemu and darwine).Quoted 22 lines · emmanuel maillard
Hi,
did you try to build and run qruncom, i can't get it work.
../qruncom pi_10.com
qemu: SIGSEGV pc=0x001708a0 address=001708a0 w=1 oldset=0x00000000 unhandledcpu_execreturn code (0xe)
EAX=00000000 EBX=00000000 ECX=000000ff EDX=00000600 ESI=00000100 EDI=0000fffe EBP=00000900 ESP=0000fffc
EIP=00000100 EFL=00020202 [-------] CPL=3 II=0 A20=1
ES =1000 000100000000ffff00000000
CS =1000 000100000000ffff00000000
SS =1000 000100000000ffff00000000
DS =1000 000100000000ffff00000000
FS =1000 000100000000ffff00000000
GS =1000 000100000000ffff00000000
LDT=0000 000000000000ffff00008000
TR =0000 000000000000ffff00008000
GDT= 000000000000ffff
IDT=0016d850000007ff
CR0=80010001 CR2=001708a0 CR3=00000000 CR4=00000000Quoted 123 lines
Pierre or Pablo can you send me a patch with your i386-user work, no doubt that it can be more useful than my actual hack.
thanks
emmanuel
Quoted 110 lines · Pablo Bendersky
No, but I didn't ask much on the qemu-devel list, so probably that's why. I agree that a darwin-i386-user should be easier to achieve, as some linux syscalls and structs are different on Darwin.
Quoted 6 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Quoted 86 lines
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 74 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet). I'm interested on moving forward with that, but not sure on how to continue.
Quoted 42 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1
tool) on a Mac OS X host. Going deeper is more tricky since we have to
emulate linux syscall and behaviour. Basically having qemu-user running
on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it
is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.Pierre.
Quoted 12 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it
can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 11 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel<darwin-patch.txt>
Hi,
I think it is more interesting to do a 'darwin-i386-user' version of QEMU. Emulating Linux on Darwin adds an extra layer of complexity which is of no use for Wine as there is already a Darwin port of Wine.
Fabrice.
Quoted 78 lines · Pierre d'Herbemont
Did you get any feedback from Fabrice about the (linux-)i386-user Mac OS X Port? I remember him to be not so encouraging with this Port. For my part I think it should be possible to have something working a lot better, but I am not sure about the real difficulties. And a darwin-i386-user would be probably easy to create.
Fabrice could you give us a hint about what you think?
Pierre.
PS: I am CC-ing this thread to the qemu-devel and to Fabrice.
Quoted 65 lines · Pablo Bendersky
I got Pierre's patch and tried to extend it for more syscall emulation, but didn't got much further... I was able to run linux/x86 binary of ls (but it fails with ls -la, don't know why yet).
I'm interested on moving forward with that, but not sure on how to continue.Quoted 36 lines · Pierre d'Herbemont
Yes, I did. I got some very simple linux/x86 binary running (the sha-1 tool) on a Mac OS X host. Going deeper is more tricky since we have to emulate linux syscall and behaviour. Basically having qemu-user running on Mac OS X for Darwin/x86 binaries is having a mach-o loader, and having the necessary call conversion. It is also a lot of work, but it is interesting. Then it would require Wine Darwin/x86 port, but that one is much more easier.
Pierre.
Quoted 11 lines · Jim White
I just noticed the bit on QEMU's home page about User Mode and how it can be used to run Linux targets like WINE. Seems to me like that could be a quick way to run X86 binaries. Has anyone looked into if/how this would work?
http://fabrice.bellard.free.fr/qemu/
Jim
Quoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-develQuoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Darwine-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/darwine-devel