Sunday, July 26, 2009

Is there a way to say what C/C++ compiler and linker were used to compile and link an application?

The matter is that I would like to know if there is a way to find out which compiler and linker were used to compile a C or C++ application.





I have the Borland compiler/linker and two versions of Microsoft Visual C++ (v6.0 and .NET). Is there a way to say if an application (final .exe) was built using one of these (or other compilers/linkers)?





Thanks for any help.

Is there a way to say what C/C++ compiler and linker were used to compile and link an application?
The build tools don't usually put what was used to build the particular executable in them. The only way you can really do this is to have the source code, generate a new executeable and then compare that to the one you wish to find out about.


No comments:

Post a Comment