Do Linux binaries work on Mac?

Do Linux binaries work on Mac?
Answer
No, Linux and Mac OS X binaries are not cross-compatible. For one thing, Linux executables use a format called ELF. Mac OS X executables use Mach-O format. Thus, even if a lot of the libraries ordinarily compile separately on each system, they would not be portable in binary format.
 

Tìm kiếm

Back
Top