Andi Kleen wrote:
It would be also good if the documentation mentioned that you have to specify -lcilkrts
Wouldn't it make more sense to automatically add the option? For instance like the following? Or do we need to do the same as for libgomp and create a .spec file?
Tobias --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -768,2 +768,3 @@ proper position among the other output files. */ %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ + %{fcilkplus:-lcilkrts}\ %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\