Intel® Threading Building Blocks is compatible with the GCC* and Microsoft compilers. This section assumes that you are using the Intel® C++ Compiler. You can use the GCC or Microsoft C++ compilers interchangeably in the directions given below.
If you did not follow the steps in the example in the previous topic, you can build from the completed source code provided in the examples/GettingStarted folder.
Linux* OS or OS X* Systems
Windows* Operating Systems
If you manually typed the code provided in the previous topic, build your application by invoking the appropriate compiler directly:
Linux* OS or OS X* Systems
Use the command line:
icc sub_string_finder.cpp ltbb
Windows* OS from the Command Line
From within the Intel C++ Compiler build environment issue the following command:
icl /MD sub_string_finder.cpp tbb.lib