Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you ask an exe which compiler it was built with? 1

Status
Not open for further replies.

Mthales

Technical User
Feb 27, 2004
1,181
0
0
GB
I just wanted to know if there was an execution flag or a seperate file that I could use to ask an exe which compiler it was built with?

Thanks for any help

He has personality problems beyond the dreams of analysts
 
Only in very broad terms, and even then it relies on someone not stripping the executable file, and not compressing it with an exe compressor.

And you can't really tell which version of a compiler was used, or which command line options were used to compile the program.

Some examples.
Code:
> strings -a zip.exe | grep -i micro
Microsoft Visual C++ Runtime Library
Microsoft C %d.%02d
> strings -a build.exe | grep -i borland
Borland C++ - Copyright 1999 Inprise Corporation
Borland32
strings is a Unix / Linux / cygwin utility which searches for printable string fragments in all sorts of files.

--
 
Thanks very much for your help on this, it was invaluable.
M

--------------------------------------
My doctor says that I have a malformed public-duty gland and that I am therefore excused from saving universes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top