public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Building libstc++ and libgcc shared?
@ 1998-04-22 18:40 Marat Boshernitsan
  1998-04-22 20:43 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Marat Boshernitsan @ 1998-04-22 18:40 UTC (permalink / raw)
  To: egcs

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)

Thanks in advance, 

-- Marat


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building libstc++ and libgcc shared?
  1998-04-22 18:40 Building libstc++ and libgcc shared? Marat Boshernitsan
@ 1998-04-22 20:43 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 1998-04-22 20:43 UTC (permalink / raw)
  To: Marat Boshernitsan; +Cc: egcs

> 
> 
> 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-04-22 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-22 18:40 Building libstc++ and libgcc shared? Marat Boshernitsan
1998-04-22 20:43 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).