Building libstc++ and libgcc shared?

H.J. Lu hjl@lucon.org
Wed Apr 22 20:43:00 GMT 1998


> 
> 
> Hi,
> 
> I am trying to create a shared object file that is embeddable into the
> Java virtual machine.  This, however, requires linking it with libstdc++
> and libgcc, so the question is how do I create shared version of both of
> these?  (I am using egcs 1.0.2)
> 

You don't need the shared libgcc if the shared libstdc++ is built with
-lgcc. It is the case for all ELF-based systems, like Linux and Solaris.

-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list