------- Comment #1 from jakub at gcc dot gnu dot org  2005-11-14 13:57 -------
There is a problem - -static.  If -fopenmp automatically adds -lgomp,
then -static -fopenmp should add -lgomp -lrt -lpthread on some platforms,
-lgomp -lpthread on others, maybe something different elsewhere.
But specs are these days usually just compiled in into gcc/g++/gfortran
driver and libgomp is configured separately.
I'm not saying it is impossible to solve this, but it is certainly non-trivial.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24845

Reply via email to