I try to compile OpenMP 1.6 sources under Fedora 8 (with gcc 4.1.1) today. They compile and install just fine. All the problem was the parametres of gcc. I didn`t know (yes, it`s a shame
) that I should compile programs using -fopenmp -lstdc++
parametres with gcc. Now when I compile sources with command line like that:
- Code: Select all
$ gcc -fopenmp -lstdc++ test.c -o test
... everything is OK.
Thanks, and have a nice evening