Can you find out which compiler was used to compile a program?

前端 未结 7 643
迷失自我
迷失自我 2021-02-05 09:45

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

7条回答
  •  忘掉有多难
    2021-02-05 10:28

    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

提交回复
热议问题