InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   32bit apps on real 64bit AMD. Possible? (http://infinitemac.com/showthread.php?t=7400)

silverkid 08-30-2011 03:46 PM

32bit apps on real 64bit AMD. Possible?
 
First, I'm sorry if this is a stupid question or has been answered somewhere else on this big internet, but the answers that i've found just weren't clear enough for me.

So, basically, as the title says, is it possible to run 32bit apps on an AMD with arch=x86_64? My hackintosh is a lot faster on 64bit, but 32bit apps don't work and -force64... well i'd like it to be a second option :P

The 3 libSystemB* dylibs are patched and the dyld cache is updated, in case you wanted to know.

Sorry again for the noobish question, and i'm hoping someone can enlighten me :)

jturn284 08-30-2011 05:45 PM

I had this problem for a while. Check out this thread.
http://osx86.co/f57/cant-boot-with-m...392/#post55220

This worked for me and is easy to understand :)

todesto 08-30-2011 06:08 PM

I followed that link and instruction. Also there is another instruction by akimoa http://osx86.co/f57/amd-and-legacy-t7263/

I ran those in terminal but had a problem on last command "update_dyld_shared_cache" as it kept saying command not found.

but reboot anyway hoping it would work but didn't do it. :mad:

Then I ran update_dyld_shared_cache again in terminal it looked it went thro, reboot with hope.....

Still didn't work. :-/

Then I updated with nawcom's legacy kernel 10.8 with support 64bit option checked, pointed my kernel to legacy_kernelm reboot......

Voila! I got all my 32bit app running in 64bit userland. Got my 8GB RAM fully recognized! ^_^

Try that.

scififan68 08-30-2011 06:08 PM

Full 64bit and 32bit apps will not work on AMD. You have to run with -force64, for all 64bit apps to work as well as 32bit ones, if you have patched these files: http://osx86.co/f57/cant-boot-with-m...post55215.html

todesto 08-30-2011 06:14 PM

Quote:

Originally Posted by scififan68 (Post 55275)
Full 64bit and 32bit apps will not work on AMD. You have to run with -force64, for all 64bit apps to work as well as 32bit ones.

I wish it were that simple. but without proper patch and right kernel, some of 32bit apps do not run on 64bit userland. so just using -force64 is half of the solution.

scififan68 08-30-2011 06:26 PM

Quote:

Originally Posted by todesto (Post 55276)
I wish it was that simple. but without proper patch and right kernel, some of 32bit apps do not run on 64bit userland. so just using -force64 is half of the solution.

I added a link to how to patch the files needed to allow all apps to work.

todesto 08-30-2011 07:42 PM

Quote:

Originally Posted by scififan68 (Post 55278)
I added a link to how to patch the files needed to allow all apps to work.

Last night, I saw that link and tried to follow the direction, but it was too confusing for a newbie like me.
first of all I d/l amd-insn-patcher, extracted in my desktop, cd to desktop then I ran ,

sudo ./amd_insn_patcher /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents

sudo ./amd_insn_patcher /usr/lib/libSystem.B.dylib /usr/lib/libSystem.B.dylib and at last type sudo ./amd_insn_patcher /usr/lib/dyld /usr/lib/dyld

but it said it can't find it or whatever the error it gave me, so I could not do it.
What I had to do was to make the all file visible, then moved the extracted files to usr/bin then I ran the terminal command instructed by akimoa but I wasn't even sure I was doing it right or not.

I got it all working now but I would like to know how to run this properly just in case if I decided to fresh install on other system. Please give a little more detailed instruction if you can, thanks.

scififan68 08-30-2011 08:27 PM

Don't forget "Ok, first of all open terminal, cd to the directory where amd_insn_patcher is" it couldn't find the file because you didn't type cd desktop, Anyways glad you got it.

silverkid 08-30-2011 08:52 PM

Quote:

Originally Posted by scififan68 (Post 55275)
Full 64bit and 32bit apps will not work on AMD. You have to run with -force64, for all 64bit apps to work as well as 32bit ones, if you have patched these files: http://osx86.co/f57/cant-boot-with-m...post55215.html

Thanks for clearing that out :D But i'm still curious, is this something permanent? will 32bit apps never work on full 64bit AMD?
By the way guys, i had already patched all the binaries and my hack is working just fine with arch=i386 -force64. I just wanted to try the full 64bit experience :)