Kakey
Kakey

Reputation: 4024

Cannot execute binary file error

I just a ran simple hello world program in my linux it worked perfectly.when i supposed to ran same file in the hand held device (running on the linux os)i got the error like Cannot execute binary file error.i am completely new to linux.

can anybody help me?

Upvotes: -1

Views: 17250

Answers (3)

Shahabaj S. Shaikh
Shahabaj S. Shaikh

Reputation: 76

su <user-name>

Then command/file should be executed.

Upvotes: 0

Joe Mcmorgan
Joe Mcmorgan

Reputation: 83

Just a heads up because I had this problem but the b4-bit application for 32-bit OS didnt work for me. If your in linux you probably need a gcc compiler on the backend of terminal that might not be installed. If you dont have this Linux doesnt seem to know how to read the file.

Upvotes: 1

nobsid
nobsid

Reputation: 186

Just because the OS is the same does not mean an executable will run. The binary file is composed of machine instructions the processor can understand. Moving back and forth between processors with the compatible instruction sets will normally work fine, but if they are not compatible the CPU will not be able to understand the instructions.

Most Intel processors use a x86 ISA (instruction set architecture), that your mobile processor is likely not compatible with.

Upvotes: 3

Related Questions