Is there a way to know which compiler generated a static library?
问题 A third party provided me a static lib (.a) to link with on solaris station. I tried to compile with sunpro, and failed at link step. I suppose the issue is coming from the compiler I use (gcc instead?) or simply its version (as the std lib provided by the compiler could change from the version expected by the library AFAIK it could leads to errors at link step). How could I know which compiler was used to generate this lib? Is there some tools doing that? Some option in sunpro/gcc or