Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › Snow Leopard 10.6 › 32bit apps on real 64bit AMD. Possible
10,692 reads · 2011-08-30
Report Snow Leopard 10.6 AMD OSx86

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…

Primary Author
@silverkid Published 2011-08-30
Collection
Snow Leopard 10.6
Archival Footprint
10,692 historical reads · 7 curated field notes (from 9 dispatches) · 2011-08-30
Credited Voices (4)
@todesto (3)@scififan68 (3)@silverkid (2)@jturn284

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

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

Author Updates & Technical Revisions

Follow-up dispatches by @silverkid

Author Update #1 @silverkid 2011-08-30 ↳ Re: @scififan68
@scififan68Full 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: osx 86.co/f57/cant-boot-with-more-than-4gb-ram-amd-t7392/post55215.html

Thanks for clearing that out 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

Synthesized Community Field Notes

7 technical responses curated from 9 original dispatches

Field Note #1 @jturn284 2011-08-30

I had this problem for a while. Check out this thread.
osx 86.co/f57/cant-boot-with-more-than-4gb-ram-amd-t7392/#post55220

This worked for me and is easy to understand

Field Note #2 @todesto 2011-08-30

I followed that link and instruction. Also there is another instruction by akimoa osx 86.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. :

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.

Field Note #3 @scififan68 2011-08-30

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: osx 86.co/f57/cant-boot-with-more-than-4gb-ram-amd-t7392/post55215.html

Field Note #4 @todesto 2011-08-30 ↳ Re: @scififan68
@scififan68Full 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.

Field Note #5 @scififan68 2011-08-30 ↳ Re: @todesto
@todestoI 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.

Field Note #6 @todesto 2011-08-30 ↳ Re: @scififan68
@scififan68I 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.

Field Note #7 @scififan68 2011-08-30

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.

Sources & Contributor Provenance (4 credited usernames · Thread #7400)
UsernameDossier ContributionDispatchesActive Window
@todestoCore Contributor32011-08-30
@scififan68Core Contributor32011-08-30
@silverkidPrimary Author22011-08-30
@jturn284Contributor12011-08-30