Thursday, December 1, 2011

Running 32 bit compiled binaries on 64 bit machines

Although the officially supported packages for GNU/Linux platforms from major corporations like Texas instruments might not wholly adhere to the Free Software guidelines, when the user is in desparate need to run an application from such corporations, the most optimal solution would be to get the binaries running on GNU/Linux rather than out of compulsion to use Windoze.


Code Composer by Texas Instruments is one such handy environment for all Electronics engineers. Although the tool itself is a propreitary one, TI does give a GNU/Linux version of it. It comprises of the binaries and dependencies for easy porting onto different flavours.

And because this is a precompiled package, and mostly compiled for the scenario of 32 bit architecture running a 32 bit kernel, if the necessary dependencies are not installed the binaries wouldn't run on 64 bit machines running 64 bit kernel.

"ia32libs" is the package which contains runtime libraries for the ia32/i386 architecture, configured for use on an amd64 or ia64 Debian system running a 64-bit kernel.Without these libraries, the above mentioned binaries will not get installed on the system.

Default installation,
fossphosis@raghu # apt-get install ia32-libs

That's all!
Now, your machine will be able to run the binaries compiled for 32 bit scenarios as well!

No comments:

Post a Comment