A post on stackoverflow.com says that the gcc manual speaks of the OpenMP version. When I checked the manual, it said something about version 2.5.
- Code: Select all
-fopenmp Enable handling of OpenMP directives #pragma omp in C/C++ and !$omp
in Fortran. When ‘-fopenmp’ is specified, the compiler generates parallel
code according to the OpenMP Application Program Interface [b]v2.5[/b]
http://www.openmp.org/. This option implies ‘-pthread’, and thus is only
supported on targets that have support for ‘-pthread’.
Is that true? Does the latest version of gcc not have OpenMP 3? If so, where could I get it from?
