Recently I am doing a C++ project in Linux.I have executable file in Linux. I tried to run it and there showed an error: can not excute binary file. I saw similar questions here in SO and they said this situation happened when people tried to run a x86 program in an ARM CPU. But the problem is I am using an intel i5 3230m cpu and this should be x86 architecture. Quite strange.
There is another issue which I think might be related to this. When I install the Linux system in WMware player. Initially I tried to install the Centosx86_64 but failed(my laptop should be a 64bit system). I had to switch to Centosi386 to get it done.So it this also related to the version of WMware Player?
Can someone help me a little bit about this? Thank you!
Update: Ok ,I tried to use file and I get this is a 64bit file.( ELF 64-bit LSB executable,x86-64,version 1(GNU/Linux), dynamically linked(uses shared libs), for GNU/Linux 2.6.24, not stripped ) And just now I tried lscpu(). What a surprise it shows architecture :i686 cpu op-mode:32bit. How could this happen? My processor is 32 bit architecture?!