samedi 29 novembre 2014

How to execute 32bit c++ program on 64bit linux?


So I got the c++ program I want to execute, but I get error:



zsh: exec format error: ./myProgram


file myProgram: myProgram: Mach-O i386 executable


My system is 64bit, so is it the problem why I cannot execute it?


P.s. I also tried on 32bit ubuntu VM, but I get:



bash: ./myProgram: cannot execute binary file: Exec format error


Aucun commentaire:

Enregistrer un commentaire