Dear Sir/Madam, I have been installed Intel compiler on fedora but when I try to compile tbb(threading building block) code using command icc program.c -ltbb It give error cstddef header file not found...... While on g++ it work fine. I would like to ask that this header file cstddef is not part of intel compiler and we have to export it or I have some problem in intel compiler downloading or installation. Thank you, Waiting for your response
If you want C++ and g++ functionality, you must invoke the C++ compiler icpc and name your source file so that it is recognized as C++. Then, those C++ standard headers which aren't provided by icpc would be found in the active g++ installation. icc should find the headers of gcc, not those which are reserved for g++. If you have questions about tbb, there is a separate forum.