(970910) libio/libstdc++ build prob on linux-gnulibc1
Jeffrey A Law
law@cygnus.com
Thu Sep 11 23:15:00 GMT 1997
In message < 199709120509.AAA07298@hp2.xraylith.wisc.edu >you write:
> Just tried 970910 and couldn't build libstdc++ on i386-linux-gnulibc1 due
> to multiple definitions of _IO_fdopen, _IO_fflush, _IO_vsprintf, etc.
I wonder if this is the root of the problem HJ was trying to solve
with this patch:
Could try this patch and let us know the results; if it works, then
we've found the real reason why HJ wanted this patch installed.
Mon Aug 25 17:31:49 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile.in ($(SHLIB)): Use $(CC) instead of (CXX) to avoid
implicit -lstdc++.
Index: libstdc++/Makefile.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/libstdc++/Makefile.in,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Makefile.in
--- libstdc++/Makefile.in 1997/08/29 00:32:44 1.1.1.2
+++ libstdc++/Makefile.in 1997/09/08 21:02:08
@@ -87,7 +87,7 @@
$(RANLIB) $(ARLIB)
$(SHLIB): piclist
- $(CXX) $(LIBCXXFLAGS) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS)
+ $(CC) $(LIBCXXFLAGS) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS)
$(SHARLIB): $(SHLIB)
-rm -f t$(SHARLIB)
More information about the Gcc-bugs
mailing list