I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-10-14 05:31:42.914801-07 by peet
Compiling 32 bit binary on 64 bit Linux
Hi there,

I have forgotten that there are still 32bit systems out there. My client is running a 32bit linux version and I compile on 64 bit Centos. Is it possible to compile a 32bit version for them on the 64bit Centos pc?

When I file the compiled binary:

file mybinary
mybinary: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

When they try to execute it:

./mybinary
-bash: ./mybinary: cannot execute binary file


uname -rm
2.6.18-92.el5PAE i686

Thanks,
Peet
Direct Responses: 12997 | 13007 | Write a response