• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Linux binaries [Re: (no subject)]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux binaries [Re: (no subject)]


  • Subject: Linux binaries [Re: (no subject)]
  • From: Graham J Lee <email@hidden>
  • Date: Fri, 03 Mar 2006 03:12:07 +0000

On 3/3/06 02:53, Matt Patenaude wrote:
I'm no expert on the subject, but I believe existing x86 Linux binaries should run on Intel-based Macs with no problems.

Under Linux, yes. I think Sarang was asking about under Darwin (or Mac OS X) though, which is neither currently possible nor AIUI simple to implement. Solaris, FreeBSD and Linux all use the same binary format called ELF, so "all" you have to do on e.g. Solaris to get a Linux binary to run is intercept library calls and make sure the Linux version of the call is executed. On Darwin with the Mach-O binary format, there's a lot more work to do. I remember a thread on this somewhere recently where someone suggested it might be possible to achieve using a process similar to the CFM runner for PEF binaries, sorry I can't remember the attribution but Uncle Google probably can.


[wonders out loud: how relevant would all of that old code gathering dust at mklinux.org be...]

--
Graham Lee
UNIX Systems Manager,
Oxford Physics Practical Course
http://users.ox.ac.uk/~wadh1342
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >(no subject) (From: "Sarang S. Dalal" <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Compiling darwin/xnu/bsd/hfs
  • Previous by thread: (no subject)
  • Next by thread: Compiling darwin/xnu/bsd/hfs
  • Index(es):
    • Date
    • Thread