Linked by Thom Holwerda on Thu 5th Nov 2009 23:05 UTC
Linux As we all know, Mac OS X has support for what is called 'fat binaries'. These are binaries that can carry code for for instance multiple architectures - in the case of the Mac, PowerPC and x86. Ryan Gordon was working on an implementation of fat binaries for Linux - but due to the conduct of the Linux maintainers, Gordon has halted the effort.
Permalink for comment 393116
To read all comments associated with this story, please click here.
Comment by Zifre
by Zifre on Fri 6th Nov 2009 00:02 UTC
Zifre
Member since:
2009-10-04

I have to agree with the kernel guys and Ulrich here. There is a much better way to do it:

$ ls foo/bin
foo
foo-arm
foo-ppc32
foo-ppc64
foo-i686
foo-x86_64

$ cat foo
#!/bin/sh
foo-`arch`

This way, you can very easily and simply delete the binaries you don't need, no patches are needed, and it is still user-friendly.

Edited 2009-11-06 00:02 UTC

Reply Score: 4