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). On Sun, 22 Aug 2004 14:42:59 +0200, emmanuel maillard wrote: > 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 > > Le 22 août 04, à 00:38, Pablo Bendersky a écrit : > > > > > 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. > > > > On Sat, 21 Aug 2004 23:41:44 +0200, Pierre d'Herbemont > > wrote: > >> 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. > >> > >> Le 21 août 04, à 22:36, Pablo Bendersky a écrit : > >> > >> > >> > >>> 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. > >>> > >>> On Sat, 21 Aug 2004 22:29:00 +0200, Pierre d'Herbemont > >>> wrote: > >>>> 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. > >>>> > >>>> Le 21 août 04, à 21:15, Jim White a écrit : > >>>> > >>>> > >>>> > >>>>> 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 > >>>>> > >>>>> > >>>>> > >>>>> ------------------------------------------------------- > >>>>> 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 > >>>>> Darwine-devel@lists.sourceforge.net > >>>>> 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 > >>>> Darwine-devel@lists.sourceforge.net > >>>> 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 > >>> Darwine-devel@lists.sourceforge.net > >>> 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 > > Darwine-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/darwine-devel > > > >