Target architecture of a binary file
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
This entry was posted
on Friday, May 28th, 2004 at 7:11 pm and is filed under Tips and Tricks.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.