Re: Question on multiple compiler environment



Mark Westwood wrote:

But what I really want is a way of determining, from the binary, what
compiler flags were used in its creation. I suspect that the only way
of doing this is to get to grips with the autotools and, as one earlier
poster suggested, that looks HARD.

Check your compiler's documentation to see if it includes such a
feature. Intel compilers do when you use -sox (Linux and Mac OS) or
/Qsox (Windows.) This embeds a string in the executable that you can
locate. (I just discovered that on Windows if you use the VS2005
linker, the string doesn't make it into the EXE - we'll work on that.)

Steve

.