[Patch] compile libgomp.c++/pr30703.C with -shared-libgcc

Mike Stump mrs@apple.com
Fri Mar 23 00:43:00 GMT 2007


On Mar 22, 2007, at 12:00 PM, Jakub Jelinek wrote:
> I haven't seen exact analysis on why it doesn't work on darwin as  
> is, shared
> libstdc++ is supposed to be linked with libgcc_s and thus the linker
> should be able to pick it up.

libgcc_s doesn't appear on the link line.  Can't link against things  
not on the link line.  libstdc++ is linked against libgcc_s, but,  
doesn't export all of libgcc_s, should it?

> Is the problem just libgomp testing when libgcc_s isn't installed yet

No.

> or does the problem persist even when compiling random C++ programs
> with gcc ... -lstdc++ instead of g++ after make install?

Yes.



More information about the Gcc-patches mailing list