public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling libstdc++ as a shared library
@ 1997-12-21 20:33 The Red Fox
  0 siblings, 0 replies; only message in thread
From: The Red Fox @ 1997-12-21 20:33 UTC (permalink / raw)
  To: egcs

Hi,

Here comes what is probably a stupid question: how do you compile
libstdc++ in the egcs-1.0 distribution as a shared library, but without
compiling the compiler  again (gcc and g++ have already been built and
installed in /usr/local).

I assume to actually get configure to set things up to make the shared lib
you need to change line 39 of libstdc++/Makefile.in from

LIBS    = $(ARLIB)

to

LIBS    = $(ARLIB) $(SHLIB)

and then configure again from the build directory. After doing all that I
can't work out how to compile libstdc++ by itself without making gcc and
g++ again.

I imagine this is fairly straightforward to do?

Thankee,
Ben

+---------------------------------------------------------+
|\\ + //   Ben Ross                                \\ ^ //|
| \- -/    ben@proximity.com.au                     \` '/ |
|  \|/     http://www.proximity.com.au/~ben/         \~/  |
+---+-------------------------------------------------+---+


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-21 20:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-21 20:33 compiling libstdc++ as a shared library The Red Fox

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