Can you find out which compiler was used to compile a program?
compiler-construction, identification
Solution
If the executable isn't stripped, try /usr/ccs/bin mcs-p This will usually show the compiler, linker and all the header files used
Problem
Given an executable that is compiled from C to run on Solaris, is it possible to determine which compiler was used to compile the associated incomplete executable? I can't see anything when using either the strings or the file command, and magic doesn't seem to contain anything specific. Do compilers generally put a fingerprint in their executable output files? cheers,