C Compiler Names

The C compiler is called gcc, or g++ for c++. We have 2 floating licenses for the intel C compiler, where the name of the compiler is icc and the debugger called iidb. If you get warnings about a lack of licences please contact help with the error messages, although hopefully there will be enough as they are only used during the compilations.

If you would like to use other programs included with the compiler then put /opt/intel80/bin/ on your PATH.

C Programming Error

A common error when compiling c programs is to forget the -lm option which tells the compiler to include the maths libraries. This leads to errors along the lines of

ld:
Unresolved:
sqrt
log
*** Exit 1
Stop.

The default cc compiler on the departmental computers running linux is gcc.


Please email any suggestions, corrections, broken links, or errors to itweb [itweb@damtp.cam.ac.uk]