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

前端 未结 7 545
迷失自我
迷失自我 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:15

    Visual Studio and GCC typically follow different startup routines (which call main). That maybe a hint. I don't know about others though. For dlls, can't think of something similar off the top of my head.

提交回复
热议问题