------- Comment #16 from iains at gcc dot gnu dot org  2010-04-09 21:19 -------
(In reply to comment #15)
> (In reply to comment #14)
> > On Darwin - I made it so that if -static-* is given for {stdc++,cc, fortran}
> > the specs cause a substitution for static libgomp.  Would that work for you?
> 
> Iain, I can't say as I can't parse your statement?! Could you elaborate a bit?
> Thanks.

Sorry ;) - specs processing.

It's possible to detect that "-static-libgfortran" has been given on the
command line and cause that to substitute libgomp.a instead of libgomp.so.

I arranged that this would happen on darwin if any of libgcc, libstdc++ or
libgfortran were made static  (for reasons of unwind symbol consistency, rather
than to satisfy a requirement for static-libgomp).

I think it's more difficult to approach libgomp directly - since it doesn't
"belong" to any specific language - therefore whatever changes you effect to it
need to be coordinated between all FEs.

Having said that, there was a comment made that libgomp.spec might be "going
away".

Does that help?


-- 


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

Reply via email to