New collections - Great,

Alexandre Petit-Bianco apbianco@cygnus.com
Wed Nov 29 02:34:00 GMT 2000


Torsten Rüger writes:

> I have an "old" compiler, from 20001002. I have tried upgrading, but
> can't because it won't compile.

You need a new compiler. I built egcs on x86/linux today and it went
fine . What doesn't work? Are you seeing this?

/usr/include/bits/mathdef.h:27: redefinition of `float_t'
/usr/include/bits/mathdef.h:27: `float_t' previously declared here
/usr/include/bits/mathdef.h:29: redefinition of `double_t'
/usr/include/bits/mathdef.h:29: `double_t' previously declared here

When c++ builds libstdc++-v3/libmath/c_logl.c? Then use this patch as
a work around :-)

./A

Index: libstdc++-v3/libmath/c_logl.c
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/libmath/c_logl.c,v
retrieving revision 1.1
diff -u -p -r1.1 c_logl.c
--- c_logl.c    2000/10/07 01:01:45     1.1
+++ c_logl.c    2000/11/29 10:33:32
@@ -27,6 +27,7 @@
    invalidate any other reasons why the executable file might be covered by
    the GNU General Public License.  */
 
+#if 0
 
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
@@ -73,3 +74,4 @@ c_logl (__complex__ long double x)
 
   return result;
 }
+#endif


More information about the Java mailing list