We have a RHEL5.5 server, and the system engineering guys at my company said that they have recently installed Intel C++ 11.1 compiler on the box.
But, when I do a cc -v, I get
Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-126.96.36.199/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
I did a which cc, and it points to /usr/bin where cc is a soft link to gcc. People at the system engineering aren't too clear about the path where they have installed it either.
There is nothing that says if this is the Intel compiler or the default gcc compiler.
So, is there a command that lists the compiler name?