c++cexecutable

How to determine which compiler has been used to compile an executable?


From a compiled file, can I see which compiler has been used to generate the file?


Solution

  • There's also the good old 'strings' utility. Dumps all ascii-ish looking strings it finds in the binary. Different compilers embed different amounts of information in the binaries they produce, but many will actually include obviously identifying strings.