User forums > Help
OpenMP with GCC
(1/1)
ccheng_leo:
Hi,
I'm a newer to Linux and Code::Blocks. I want to develop some programs with Code::Blocks, GCC supporting for OpenMP on OpenSuse. But I can't make the complier enable the OpenMP because I can't find -fopenmp in Settings/Complier and debugger settings. My current GCC verison is 4.41 and I already have libgomp 4.4. How should I do?
Thanks,
Help,
Please.
ccheng_leo:
Why -fopenmp didn't appear in the menu?
Jenna:
--- Quote from: ccheng_leo on January 29, 2010, 05:35:13 am ---Why -fopenmp didn't appear in the menu?
--- End quote ---
We can not put each and every switch in the "Compiler flags" list, there are too much.
Just put "-fopenmp" in "Other options".
This works for all options, that are not in "Compiler flags", options you have in the "Compiler flags" list are ignored and removed from "Other options".
ccheng_leo:
Thanks a lot lot lot. It seems so easy.
Navigation
[0] Message Index
Go to full version