Stripping certain binaries out of a UB to save space?
Hey, I don't have an Intel Mac yet but I know that when I do, I'll want to kill the PPC binaries of my Universal apps if it'll help me save space. If localization files took up nearly a gig of space, how much space do the PPC binaries of all the default applications?
Do the default-installed apps like Mail and Safari have PPC binaries, out of the box on an Intel machine? How much space do they take up? And is there an app that you can use to easily strip all non-Intel binaries out?
Do the default-installed apps like Mail and Safari have PPC binaries, out of the box on an Intel machine? How much space do they take up? And is there an app that you can use to easily strip all non-Intel binaries out?
Comments
Any developers/other experts who could comment on this.
The name comes from the fact that, under NeXT, Universal Binaries were known as Fat Binaries.
So UBs are just Fats? That's beautiful, I didn't know Apple used standard Fat Binaries for Universal apps.
Fat is just a horrible name so they like to call it something nicer .
One little app that I had showed no difference in size at all when compiling just for PPC versus compiling as UB.
Most of the time you probably won't see a difference. Most of the space that apps take up is in the resources such as idvd themes etc. Those are cross platform anyway. All that you need two versions of generally are the bits inside the application package in the Contents/MacOS folder. For lots of apps, that program will be a few hundred kb - idvd is about 3.5MB.
Of course if you have linked libraries then they need to be have two versions too. You will usually find that in high end apps like Maya.
To answer the thread's question, Monolingual is what you want. It also removes localizations and international keyboard inputs. http://monolingual.sourceforge.net/
That's for removing localizations, the OP wanted an app to remove the ppc binaries from universal apps. They are totally different things. Nonetheless, monolingual should remove a lot of unnecessary stuff and will likely free up more than removing ppc binaries would (around 1-2 GB if I recall).