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

today's howtos

Leftovers: Software

  • SMPlayer 17.1 Features ‘Experimental Support’ for Chromecast
  • Support for Chromecast in SMPlayer 17.1
    SMPlayer 17.1 features experimental support for Chromecast. Now you can send videos from SMPlayer to your Chromecast device, including local files from your computer and online streams such as TV channels or videos from sites like YouTube, Dailymotion, Vimeo, Vevo and many more.
  • How Node.js Is Transforming Today’s Enterprises
    On today’s episode of The New Stack Makers, we sat down with NodeSource Solutions Architect Manager Joe Doyle and NodeSource Chief Technology Officer and co-founder Dan Shaw to hear more about how today’s enterprises are approaching working with Node.js. The interview was recorded at Node.js Interactive 2016, which took place in Austin, December 2016.
  • 4 Configuration Management Tools for DevOps
    In the past, maintaining technology infrastructure, deploying applications, and provisioning environments involved many manual, iterative tasks. But in today’s DevOps arena, true automation of these tasks has arrived. The benefits of automated configuration management range from time savings to elimination of human error. Meanwhile, configuration management platforms and tools have converged directly with the world of open source. In fact, several of the very best tools are fully free and open source. From server orchestration to securely delivering high-availability applications, open source tools ranging from Chef to Puppet can bring organizations enormous efficiency boosts.
  • GPMDP Is A Feature-Packed Google Play Music Desktop Application
    The application is built using Electron, so it's a wrapper for the Google Play Music web interface, with various desktop features added on top, like media keys support, tray/indicator and much more.
  • Netdata 1.5 Released With FreeBSD Support, New Plugins
    Netdata, for the uninitiated, is a distributed real-time performance and health monitoring suite. Netdata can be used for monitoring server performance/health as well as VMs, IoT devices, and more in a "fast and efficient" manner. Netdata 1.5 has been released as a big update to this open-source tool.
  • Firefox Gets Better Video Gaming and Warns of Non-Secure Websites
    Today’s release of Firefox includes various features for developers and users that enable a richer and safer experience on the web.

Leftovers: Gaming

Red Hat News