This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to determine (sub-)architecture of a binary


hi folks...

this is probably slightly off-topic, but which tools can i use to
determine the (sub-)architecture of a given binary?
"file" and "objdump" always show me i386, it does not matter if
there are any optimizations for e.g. i686 in the binary or not.
if i disassemble one i386- and one i686-file with "objdump -d" 
and then compare them via diff, i can see differences in the 
assembler, which does not help so much in regard of the sought
architecture.

i also stumbled upon this:
http://gcc.gnu.org/ml/gcc-help/2001-04/msg00099.html
which got unanswered, unfortunately.

thanks and please cc: me,
 sebastian


-- 

Powered by Outblaze


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]