Re: runtime identification of compiler through executable shankha wrote:
> i want to use this information in c code .. like if compiler=gcc then
> do some few things
That's not a runtime assessment, it's a compile time assessment.
Just require your builder to use -DGCC or -DXLC and
use #ifdef GCC/etc in your code. |