If you want to know the targeted architecture of an executable file you can use the Gnu C Compiler, gcc.
The dumpfile debugging option prints the compiler’s target machine. Simply type:
gcc -dumpmachine
and you’ll get something like this:
i686-pc-linux-gnu