This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compiling libstdc++ as a shared library
- To: egcs at cygnus dot com
- Subject: compiling libstdc++ as a shared library
- From: The Red Fox <ben at proximity dot com dot au>
- Date: Mon, 22 Dec 1997 15:33:29 +1100 (EST)
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/ \~/ |
+---+-------------------------------------------------+---+