Language Selection

English French German Italian Portuguese Spanish

Binary Portability in Linux

Filed under
Linux

An interesting topic for a change: is Linux binary portable? That is, can we take a binary file and be sure it’ll run in any other Linux system? What happens if we broaden that to any POSIX system, will it blend? Eh, I mean, will it run?

Doing some research on the subject I wrote down a list of the thought process which led my to an (inconclusive) answer:

1. First we should define what a binary is for us: When we talk about a binary we are usually thinking about a compiled binary file, not an interpreted script file like Ruby or Python. Those are for people who like things to actually work, so let’s focus on a compiled executable file, like a C/C++ application.

2. Defining compiled file: What could it be other than a sequence of bytes the microprocessor can understand? Yes, that’s right, it’s sort of interpreted code, only there’s electronics behind, not more code. This brings us to the first interesting conclusion: the executable must be (leaving emulators aside) compatible with the architecture you’re on. Running Sparc? Well then, the binary better be compiled for Sparc because otherwise to the uP will not make any sense.

rest here




More in Tux Machines

Debian Will Continue to Provide Support for the MIPS Architecture

The Debian distribution provides support for numerous processor architectures and it's one of the most prolific in this area. It looks like MIPS support will continue to be offered by the Debian maintainers after the developers get their hand on some new MIPS-powered hardware. Read more

Linux Lite 2.4 Officially Released with Support for Microsoft’s exFAT File System - Screenshot Tour

Jerry Bezencon had the pleasure of announcing on March 31 the immediate availability for download and testing of the final release of his Linux Lite 2.4 computer operating system based on an LTS (Long Term Support) version of the Ubuntu Linux distribution. The new Linux Lite 2.4 come with a great number of features that we’ve listed below for your viewing pleasure. Read more

How Moodle is driven by user and community feedback

Moodle is a well-established, highly flexible open source learning platform, having grown from small beginnings at the start of the century into the mainstream solution for millions of people worldwide. Its customizable and secure learning management features allow anyone to create a private website filled with dynamic courses in any subject that promote learning on a schedule that suits students. Read more

Blender 2.74 Out Now with New Tools, Add-Ons, and Dozens of Improvements

The Blender Foundation is proud to announce today, March 31, the immediate availability for download of the Blender 2.74 free, open-source 3D modelling software that is used by many professional designers to create stunning graphics and models for Hollywood movies. Read more