%n libg++ %v 2.7.2 %c * %l * %b * %d * %f * %t libg++-2.7.2.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N libg++-2.7.2/Makefile.in libg++-MCC/Makefile.in --- libg++-2.7.2/Makefile.in Wed Jun 26 20:47:31 1996 +++ libg++-MCC/Makefile.in Fri Aug 9 19:00:02 1996 @@ -48,6 +48,6 @@ INSTALL = $${srcroot}/install.sh -c -INSTALL_PROGRAM = $(INSTALL) -INSTALL_DATA = $(INSTALL) -m 644 +INSTALL_PROGRAM = install -s -m 555 +INSTALL_DATA = install -m 444 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)' @@ -67,5 +67,5 @@ # We don't specify -g -O because many compilers don't support -g -O, # and/or -O is broken in and of itself. -CFLAGS = -g +CFLAGS = -O6 LIBCFLAGS = $(CFLAGS) CFLAGS_FOR_TARGET = $(CFLAGS) @@ -77,5 +77,5 @@ # Use -O2 to stress test the compiler. -CXXFLAGS = -g -O2 +CXXFLAGS = -O6 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates CXXFLAGS_FOR_TARGET = $(CXXFLAGS) @@ -796,5 +796,5 @@ local-distclean: - -rm -f Makefile config.status + -rm -f Makefile config.status mh-frag -if [ "$(TARGET_SUBDIR)" != "." ]; then \ rm -rf $(TARGET_SUBDIR); \ diff -ru2N libg++-2.7.2/configure libg++-MCC/configure --- libg++-2.7.2/configure Sun Jun 16 01:18:44 1996 +++ libg++-MCC/configure Fri Aug 9 19:00:02 1996 @@ -829,5 +829,5 @@ test -z "$dir" && dir=. if test -f $dir/gcc; then - CC="gcc -O2" + CC="gcc" break fi diff -ru2N libg++-2.7.2/configure.in libg++-MCC/configure.in --- libg++-2.7.2/configure.in Wed Jun 26 20:51:10 1996 +++ libg++-MCC/configure.in Fri Aug 9 19:00:02 1996 @@ -428,4 +428,8 @@ noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx" ;; + i[345]86-*-linux) + # linux has rx in libc + skipdirs="$skipdirs target-librx" + ;; *-*-cygwin32) target_configdirs="$target_configdirs target-winsup" diff -ru2N libg++-2.7.2/libg++/Makefile.in libg++-MCC/libg++/Makefile.in --- libg++-2.7.2/libg++/Makefile.in Tue Jun 18 00:16:10 1996 +++ libg++-MCC/libg++/Makefile.in Fri Aug 9 19:00:02 1996 @@ -119,5 +119,5 @@ $(SHLIB): piclist ../libstdc++/piclist - $(CXX) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS) + $(CC) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS) $(SHARLIB): $(SHLIB) diff -ru2N libg++-2.7.2/libg++/config/linux.ml libg++-MCC/libg++/config/linux.ml --- libg++-2.7.2/libg++/config/linux.ml Tue Jun 18 00:03:33 1996 +++ libg++-MCC/libg++/config/linux.ml Fri Aug 9 19:00:03 1996 @@ -1,3 +1,3 @@ -FULL_VERSION = 27.2.0 +FULL_VERSION = 27.2.1 MAJOR_VERSION = 27 diff -ru2N libg++-2.7.2/libg++/config/linux.mt libg++-MCC/libg++/config/linux.mt --- libg++-2.7.2/libg++/config/linux.mt Fri Oct 6 01:36:15 1995 +++ libg++-MCC/libg++/config/linux.mt Fri Aug 9 19:00:03 1996 @@ -11,2 +11,8 @@ # Don't include iostream files in libg++.a. IO_OBJECTS_TO_GET = +# No rx.o +RX_OBJ= +_G_CONFIG_H= + +# That is where we keep the g++ header files. +gxx_includedir =$(prefix)/include/g++ diff -ru2N libg++-2.7.2/libg++/configure.in libg++-MCC/libg++/configure.in --- libg++-2.7.2/libg++/configure.in Mon Jun 17 22:40:59 1996 +++ libg++-MCC/libg++/configure.in Fri Aug 9 19:00:03 1996 @@ -139,5 +139,4 @@ MOSTLYCLEAN='*.o pic stamp-picdir piclist core \#* temp.c dummy.out dummy.[Cc] TMP a.out list' CLEAN='.stmp-* _G_config.h $(BUILD_LIBS)' -DISTCLEAN='config.status Makefile target-mkfrag' REAL_CLEAN="depend *.info* g++FAQ.txt g++FAQ.html" INFO_FILES=libg++ diff -ru2N libg++-2.7.2/libg++/src/configure.in libg++-MCC/libg++/src/configure.in --- libg++-2.7.2/libg++/src/configure.in Tue Nov 14 09:37:49 1995 +++ libg++-MCC/libg++/src/configure.in Fri Aug 9 19:00:03 1996 @@ -17,5 +17,5 @@ LIBDIR=yes TOLIBGXX=../ -ALL='$(OBJS)' +ALL=libgxx.list EXTRA_DISTCLEAN=rx.h MOSTLYCLEAN='*.o pic stamp-picdir core libgxx.list' @@ -24,6 +24,12 @@ (. ${srcdir}/../config.shared) >${package_makefile_frag} -files=../../librx/rx.h -links=rx.h +case "${target}" in + *-*-linux*) + ;; + *) + files=../../librx/rx.h + links=rx.h + ;; +esac # post-target: diff -ru2N libg++-2.7.2/libg++/src/depend libg++-MCC/libg++/src/depend --- libg++-2.7.2/libg++/src/depend Wed Apr 24 19:02:35 1996 +++ libg++-MCC/libg++/src/depend Fri Aug 9 19:00:04 1996 @@ -485,5 +485,5 @@ $(srcdir)/$(MULTISRCTOP)../../libstdc++/cmath \ $(srcdir)/$(MULTISRCTOP)../../libstdc++/std/cmath.h \ - rx.h $(srcdir)/Regex.h + $(srcdir)/$(MULTISRCTOP)../../librx/rx.h $(srcdir)/Regex.h RndInt.o: RndInt.cc \ $(srcdir)/RndInt.h \ diff -ru2N libg++-2.7.2/libiberty/Makefile.in libg++-MCC/libiberty/Makefile.in --- libg++-2.7.2/libiberty/Makefile.in Sun Apr 21 19:55:38 1996 +++ libg++-MCC/libiberty/Makefile.in Fri Aug 9 19:00:04 1996 @@ -161,5 +161,5 @@ fdmatch.o getopt.o getopt1.o getruntime.o hex.o \ floatformat.o obstack.o spaces.o strerror.o strsignal.o \ - vasprintf.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o + xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o # Do we want/need any config overrides? @@ -169,5 +169,5 @@ INSTALL_DEST = libdir -install: install_to_$(INSTALL_DEST) +install: install_to_libdir: all diff -ru2N libg++-2.7.2/libiberty/functions.def libg++-MCC/libiberty/functions.def --- libg++-2.7.2/libiberty/functions.def Tue Dec 12 02:44:12 1995 +++ libg++-MCC/libiberty/functions.def Fri Aug 9 19:00:04 1996 @@ -64,4 +64,7 @@ DEFFUNC(strerror, char*, (), NOTHING) DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message) + DEFFUNC(basename, char *, (name), CONST char *name) DEFFUNC(on_exit, void, (f, arg), void (*f)() AND char *arg) +DEFFUNC(strsignal, char*, (), NOTHING) +DEFFUNC(vasprintf, int, (), NOTHING) diff -ru2N libg++-2.7.2/libiberty/strsignal.c libg++-MCC/libiberty/strsignal.c --- libg++-2.7.2/libiberty/strsignal.c Tue May 16 21:33:11 1995 +++ libg++-MCC/libiberty/strsignal.c Fri Aug 9 19:00:04 1996 @@ -401,4 +401,6 @@ */ +#ifdef NEED_strsignal + const char * strsignal (signo) @@ -436,4 +438,6 @@ return (msg); } + +#endif /* NEED_strsignal */ diff -ru2N libg++-2.7.2/libio/Makefile.in libg++-MCC/libio/Makefile.in --- libg++-2.7.2/libio/Makefile.in Tue Jun 18 00:03:42 1996 +++ libg++-MCC/libio/Makefile.in Fri Aug 9 19:00:04 1996 @@ -30,5 +30,5 @@ iofsetpos.o iogetdelim.o iogetline.o \ ioprintf.o ioseekoff.o ioseekpos.o \ - outfloat.o strops.o iofclose.o iopopen.o ioungetc.o + outfloat.o strops.o iofclose.o iopopen.o ioungetc.o stdfiles.o # These emulate stdio functionality, but with a different name (_IO_ungetc @@ -56,5 +56,5 @@ LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(OSPRIM_OBJECTS) -LIBIO_OBJECTS = $(IO_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) stdfiles.o +LIBIO_OBJECTS = $(IO_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) @@ -66,8 +66,12 @@ ## -libio.a: $(_G_CONFIG_H) $(LIBIO_OBJECTS) +libio.a: $(_G_CONFIG_H) $(LIBIO_OBJECTS) dummy.o -rm -rf libio.a - $(AR) $(AR_FLAGS) libio.a $(LIBIO_OBJECTS) + $(AR) $(AR_FLAGS) libio.a $(LIBIO_OBJECTS) \ + `test x = x$(LIBIO_OBJECTS) && echo dummy.o` $(RANLIB) libio.a + +dummy.c: Makefile + echo '/* empty file */' > dummy.c libiostream.a: $(_G_CONFIG_H) $(LIBIOSTREAM_DEP) diff -ru2N libg++-2.7.2/libio/config/linux.mt libg++-MCC/libio/config/linux.mt --- libg++-2.7.2/libio/config/linux.mt Wed May 10 11:14:08 1995 +++ libg++-MCC/libio/config/linux.mt Fri Aug 9 19:00:04 1996 @@ -1,4 +1,7 @@ # Since the Linux C library has libio, we have to be very careful. +# That is where we keep the g++ header files. +gxx_includedir =$(prefix)/include/g++ + # By default, we build libio and use it. If someone wants to not # build it, let them go to extra work. The reason is that the user @@ -7,20 +10,20 @@ # Comment this out to avoid including the stdio functions in libiostream.a: -LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) -LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list -LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list` +# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS) +# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list +# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list` # Comment the above and uncomment the below to use the code in the Linux libc: # We have _G_config.h in /usr/include. -# _G_CONFIG_H= +_G_CONFIG_H= # We have those in libc.a. -# IO_OBJECTS= -# STDIO_WRAP_OBJECTS= -# OSPRIM_OBJECTS= +IO_OBJECTS= +STDIO_WRAP_OBJECTS= +OSPRIM_OBJECTS= # We have the rest in /usr/include. -# USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \ -# indstream.h iomanip.h iostream.h istream.h ostream.h \ -# parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \ -# streambuf.h strfile.h strstream.h +USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \ + indstream.h iomanip.h iostream.h istream.h ostream.h \ + parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \ + streambuf.h strfile.h strstream.h diff -ru2N libg++-2.7.2/libio/config.shared libg++-MCC/libio/config.shared --- libg++-2.7.2/libio/config.shared Tue Jun 18 00:03:43 1996 +++ libg++-MCC/libio/config.shared Fri Aug 9 19:00:05 1996 @@ -87,5 +87,5 @@ echo 'infodir = $(prefix)/info' echo 'includedir = $(prefix)/include' -echo 'gxx_includedir = $(libdir)/g++-include' +echo 'gxx_includedir = $(prefix)/include/g++' echo 'docdir = $(datadir)/doc' echo '' @@ -389,5 +389,5 @@ MOSTLYCLEAN="${MOSTLYCLEAN-*.o pic stamp-picdir core ${EXTRA_MOSTLYCLEAN}} `if test -n "${TOUCH_ON_COMPILE}"; then echo stamp; else true; fi`" CLEAN="${CLEAN-${TARGETPROG} ${TARGETLIB}}" -DISTCLEAN="${DISTCLEAN-config.status Makefile *~ Make.pack ${EXTRA_DISTCLEAN-}}" +DISTCLEAN="${DISTCLEAN-config.status Makefile *~ Make.pack target-mkfrag ${EXTRA_DISTCLEAN-}}" REALCLEAN="${REALCLEAN-depend *.info*}" diff -ru2N libg++-2.7.2/libio/configure.in libg++-MCC/libio/configure.in --- libg++-2.7.2/libio/configure.in Thu Apr 11 01:17:40 1996 +++ libg++-MCC/libio/configure.in Fri Aug 9 19:00:05 1996 @@ -17,10 +17,5 @@ case "${target}" in *-hpux*) frags=hpux.mt ;; - *-linux*) - echo "WARNING: The I/O implementation in FSF libg++ 2.8.x is not" - echo " compatible with Linux libc through 5.2.x." - echo " See libg++/README for more information." - echo " YOU ARE ON YOUR OWN!" - frags=linux.mt ;; + *-linux*) frags=linux.mt ;; *-sco3.2v[45]*) frags=sco4.mt ;; *-isc*) frags=isc.mt ;; @@ -62,5 +57,5 @@ XCXXINCLUDES='-I. -I$(srcdir)' MOSTLYCLEAN='*.o pic stamp-picdir core iostream.list' -DISTCLEAN='config.status Makefile *~ Make.pack target-mkfrag' +EXTRA_DISTCLEAN=dummy.c CLEAN='_G_config.h *.a' INFO_FILES=iostream diff -ru2N libg++-2.7.2/libio/iostream.cc libg++-MCC/libio/iostream.cc --- libg++-2.7.2/libio/iostream.cc Mon Nov 13 00:35:12 1995 +++ libg++-MCC/libio/iostream.cc Fri Aug 9 19:00:05 1996 @@ -36,4 +36,10 @@ #include #include "floatio.h" +#ifdef __linux__ +#include +extern "C" int __printf_fp __P ((FILE *, + const struct printf_info *, + const void **const)); +#endif #define BUF (MAXEXP+MAXFRACT+1) /* + decimal point */ @@ -322,5 +328,9 @@ { if (ipfx0()) +#ifdef __linux__ + scan("%Lg", &x); +#else scan("%lg", &x); +#endif return *this; } @@ -552,4 +562,42 @@ #endif /*__GNUC__*/ +#ifdef __linux__ +ostream& ostream::operator<<(long double n) +{ + if (opfx()) { + int format_char; + if ((flags() & ios::floatfield) == ios::fixed) + format_char = 'f'; + else if ((flags() & ios::floatfield) == ios::scientific) + format_char = flags() & ios::uppercase ? 'E' : 'e'; + else + format_char = flags() & ios::uppercase ? 'G' : 'g'; + + int prec = precision(); + if (prec <= 0 && !(flags() & ios::fixed)) + prec = 6; /* default */ + + // Do actual conversion. + struct printf_info info = {0}; + + info.prec = prec; + info.width = width (0); + info.spec = format_char; + info.is_long_double = 1; + info.alt = flags() & ios::showpoint; + info.left = flags() & ios::left; + info.showsign = flags() & ios::showpos; + info.pad = fill(); + + _IO_va_list p = (_IO_va_list) &n; + + if (__printf_fp (rdbuf(), &info, &p) < 0) + set(ios::badbit|ios::failbit); // ?? + osfx(); + } + return *this; +} +#endif + ostream& ostream::operator<<(double n) { @@ -571,4 +619,25 @@ // Do actual conversion. +#ifdef __linux__ + struct printf_info info; + + info.prec = prec; + info.width = width (0); + info.spec = format_char; + info.is_long_double = 0; + info.is_short = 0; + info.is_long = 0; + info.alt = flags() & ios::showpoint; + info.space = 0; + info.left = flags() & ios::left; + info.showsign = flags() & ios::showpos; + info.group = 0; + info.pad = fill(); + + _IO_va_list p = (_IO_va_list) &n; + + if (__printf_fp (rdbuf(), &info, &p) < 0) + set(ios::badbit|ios::failbit); // ?? +#else #ifdef _IO_USE_DTOA if (_IO_outfloat(n, rdbuf(), format_char, width(0), @@ -626,4 +695,5 @@ if (pad_kind == (ios::fmtflags)ios::left) // Left adjustment for (i = padding; --i >= 0; ) sbuf->sputc(fill_char); +#endif #endif osfx(); diff -ru2N libg++-2.7.2/libio/iostream.h libg++-MCC/libio/iostream.h --- libg++-2.7.2/libio/iostream.h Mon Jun 17 22:37:14 1996 +++ libg++-MCC/libio/iostream.h Fri Aug 9 19:00:05 1996 @@ -97,5 +97,9 @@ ostream& operator<<(double n); ostream& operator<<(float n) { return operator<<((double)n); } +#ifdef __linux__ + ostream& operator<<(long double n); +#else ostream& operator<<(long double n) { return operator<<((double)n); } +#endif ostream& operator<<(__omanip func) { return (*func)(*this); } ostream& operator<<(__manip func) {(*func)(*this); return *this;} diff -ru2N libg++-2.7.2/libio/libio.h libg++-MCC/libio/libio.h --- libg++-2.7.2/libio/libio.h Sat Apr 6 02:47:55 1996 +++ libg++-MCC/libio/libio.h Fri Aug 9 19:00:06 1996 @@ -71,5 +71,7 @@ #define const #endif +#ifndef __linux__ #define _IO_USE_DTOA +#endif #define _IO_UNIFIED_JUMPTABLES 1 @@ -142,4 +144,13 @@ #define _IO_DONT_CLOSE 0100000 +/* The reentrent version of the libio implementation needs a semaphore for + each _IO_FILE struture. Because we don't know how the semaphore + will be implemented we try to be very general. */ +struct _IO_lock_t { + void *ptr; + short int field1; + short int field2; +}; + /* A streammarker remembers a position in a buffer. */ @@ -199,4 +210,6 @@ /* char* _save_gptr; char* _save_egptr; */ + + struct _IO_lock_t _IO_lock; }; diff -ru2N libg++-2.7.2/libio/libioP.h libg++-MCC/libio/libioP.h --- libg++-2.7.2/libio/libioP.h Sat Apr 27 11:09:08 1996 +++ libg++-MCC/libio/libioP.h Fri Aug 9 19:00:06 1996 @@ -30,4 +30,14 @@ #include "iolibio.h" +#if !defined(__cplusplus) && defined(__linux__) +#include "linux.h" +#endif + +#ifdef __linux__ + +#include + +#else /* __linux__ */ + #if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(__cplusplus) /* All known AIX compilers implement these things (but don't always @@ -49,4 +59,6 @@ #endif /* ANSI C. */ +#endif /* __linux__ */ + #ifdef __cplusplus extern "C" { @@ -427,4 +439,8 @@ #endif +extern char* _IO_gen_tempname __P ((const char * dir, const char *pfx, + int dir_search, _IO_size_t *lenptr, + _IO_FILE **streamptr)); + #ifdef __cplusplus } @@ -483,5 +499,5 @@ #endif -#ifdef DEBUG +#ifdef _IO_DEBUG #define CHECK_FILE(FILE,RET) \ if ((FILE) == NULL) { MAYBE_SET_EINVAL; return RET; } \ diff -ru2N libg++-2.7.2/librx/rx.c libg++-MCC/librx/rx.c --- libg++-2.7.2/librx/rx.c Tue Dec 19 18:57:20 1995 +++ libg++-MCC/librx/rx.c Fri Aug 9 19:00:07 1996 @@ -5816,4 +5816,6 @@ case 'w': case 'W': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; { rx_Bitset cs = rx_cset (&rxb->rx); @@ -5839,4 +5841,6 @@ */ case '<': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_wordbeg; goto add_side_effect; @@ -5844,4 +5848,6 @@ case '>': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_wordend; goto add_side_effect; @@ -5849,4 +5855,6 @@ case 'b': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_wordbound; goto add_side_effect; @@ -5854,4 +5862,6 @@ case 'B': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_notwordbound; goto add_side_effect; @@ -5859,4 +5869,6 @@ case '`': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_begbuf; goto add_side_effect; @@ -5864,4 +5876,6 @@ case '\'': + if (syntax & RE_NO_GNU_OPS) + goto normal_char; side = (rx_side_effect)re_se_endbuf; goto add_side_effect; @@ -6409,5 +6423,9 @@ return *closure->string2; else +#if 0 return pos->pos[1]; +#else + return pos->pos[offset]; /* FIXME */ +#endif } diff -ru2N libg++-2.7.2/librx/rx.h libg++-MCC/librx/rx.h --- libg++-2.7.2/librx/rx.h Fri Apr 14 15:36:00 1995 +++ libg++-MCC/librx/rx.h Fri Aug 9 19:00:08 1996 @@ -1,4 +1,4 @@ -#if !defined(RXH) || defined(RX_WANT_SE_DEFS) -#define RXH +#if !defined(_RX_H) || defined(RX_WANT_SE_DEFS) +#define _RX_H /* Copyright (C) 1992, 1993 Free Software Foundation, Inc. @@ -25,7 +25,12 @@ +#include +#define __need_size_t +#include - +#if RX_WANT_SE_DEFS != 1 +__BEGIN_DECLS +#endif #ifndef RX_WANT_SE_DEFS @@ -1408,4 +1413,8 @@ #define RE_UNMATCHED_RIGHT_PAREN_ORD (RE_NO_EMPTY_RANGES << 1) +/* If this bit is set, do not process the GNU regex operators. + IF not set, then the GNU regex operators are recognized. */ +#define RE_NO_GNU_OPS (RE_UNMATCHED_RIGHT_PAREN_ORD << 1) + /* This global variable defines the particular regexp syntax to use (for some interfaces). When a regexp is compiled, the syntax used is @@ -3728,4 +3737,8 @@ RX_DEF_CPLX_SE(0, re_se_tv, = re_se_end_iter + 1) +#endif + +#if RX_WANT_SE_DEFS != 1 +__END_DECLS #endif diff -ru2N libg++-2.7.2/libstdc++/Makefile.in libg++-MCC/libstdc++/Makefile.in --- libg++-2.7.2/libstdc++/Makefile.in Tue Jun 18 00:03:48 1996 +++ libg++-MCC/libstdc++/Makefile.in Fri Aug 9 19:00:09 1996 @@ -46,5 +46,5 @@ LIBIBERTY_DIR = ../libiberty -LIBIBERTY_OBJS = `cat $(LIBIBERTY_DIR)/needed-list` strerror.o +LIBIBERTY_OBJS = `cat $(LIBIBERTY_DIR)/needed-list` `test -f $(LIBIBERTY_DIR)/strerror.o && echo strerror.o` tooldir = $(exec_prefix)/$(target) @@ -91,5 +91,5 @@ $(SHLIB): piclist - $(CXX) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS) + $(CC) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS) $(SHARLIB): $(SHLIB) diff -ru2N libg++-2.7.2/libstdc++/config/linux.ml libg++-MCC/libstdc++/config/linux.ml --- libg++-2.7.2/libstdc++/config/linux.ml Tue Jun 18 00:03:52 1996 +++ libg++-MCC/libstdc++/config/linux.ml Fri Aug 9 19:00:09 1996 @@ -1,5 +1,5 @@ # Elf with shared libm, so we can link it into the shared libstdc++. -FULL_VERSION = 27.2.0 +FULL_VERSION = 27.2.1 MAJOR_VERSION = 27 diff -ru2N libg++-2.7.2/libstdc++/configure.in libg++-MCC/libstdc++/configure.in --- libg++-2.7.2/libstdc++/configure.in Tue Jun 18 00:03:50 1996 +++ libg++-MCC/libstdc++/configure.in Fri Aug 9 19:00:09 1996 @@ -42,4 +42,8 @@ fi +case "${target}" in + *-*-linux*) frags="${frags} linux.mt" ;; +esac + for frag in ${frags}; do frag=${srcdir}/config/$frag diff -ru2N libg++-2.7.2/etc/Makefile.in libg++-MCC/etc/Makefile.in --- libg++-2.7.2/etc/Makefile.in Wed Jun 26 20:44:14 1996 +++ libg++-MCC/etc/Makefile.in Fri Aug 9 19:47:32 1996 @@ -44,6 +44,5 @@ all: -install: $(srcdir)/configure.man - $(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1 +install: uninstall: ENDPATCH ./configure --prefix=/usr --enable-shared i486-linux make * (cd /usr/include;install -d -m 555 g++ g++/gen g++/std) * make install * chmod 444 /usr/lib/libg++.a /usr/lib/libstdc++.a * gzip -9f /usr/man/man1/gperf.1 * ldconfig %%