swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: official gcc-3.1 released [MacOSX]


From: Marc-Antoine Parent
Subject: Re: official gcc-3.1 released [MacOSX]
Date: Thu, 23 May 2002 08:38:28 -0400


I'm trying to compile the FSF version of gcc-3.1 released just few day ago. GCC compiles, but libstdc++-v3 fails.

/sw/src/GNU/darwin/powerpc-apple-
darwin5.4/libstdc++-v3/include/powerpc-apple-
darwin5.4/bits/ctype_inline.h:80: no
   matching function for call to `isgraph(char&)'
make[4]: *** [globals.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap] Error 2

did somebody compile this source?


This is not up to date (Oooold FSF gcc 3.1) but should be substantially unchanged:
(Quoted from my first post on this list!)

The same files, cctype and cstring, are found in both
gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include
and
gcc-build/powerpc-apple-darwin5.2/soft-float/libstdc++-v3/include
Just copy the patched files.

*** gcc/libstdc++-v3/include/c_std/cctype       Fri Jan  4 16:27:33 2002
--- gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype Wed Jan 16 09:23:02 2002
***************
*** 52,57 ****
--- 52,92 ----
  #undef tolower
  #undef toupper

+ static __inline int isalnum(_BSD_RUNE_T_ c) {
+       return __istype(c, (_A|_D));
+ }
+ static __inline int isalpha(_BSD_RUNE_T_ c) {
+       return __istype(c, _A);
+ }
+ static __inline int isdigit(_BSD_RUNE_T_ c) {
+       return __istype(c, _D);
+ }
+ static __inline int iscntrl(_BSD_RUNE_T_ c) {
+       return __istype(c, _C);
+ }
+
+ static __inline int isgraph(_BSD_RUNE_T_ c) {
+       return __istype(c, _G);
+ }
+ static __inline int islower(_BSD_RUNE_T_ c) {
+       return __istype(c, _L);
+ }
+ static __inline int isprint(_BSD_RUNE_T_ c) {
+       return __istype(c, _R);
+ }
+ static __inline int ispunct(_BSD_RUNE_T_ c) {
+       return __istype(c, _P);
+ }
+  static __inline int isspace(_BSD_RUNE_T_ c) {
+       return __istype(c, _S);
+ }
+ static __inline int isupper(_BSD_RUNE_T_ c) {
+       return __istype(c, _U);
+ }
+ static __inline int isxdigit(_BSD_RUNE_T_ c) {
+       return __istype(c, _X);
+ }
+
  namespace std
  {
    using ::isalnum;


*** gcc/libstdc++-v3/include/c_std/cstring      Fri Jan  4 16:27:33 2002
--- gcc-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cstring Wed Jan 16 09:35:25 2002
***************
*** 37,42 ****
--- 37,43 ----
  #include <cstddef>

  #pragma GCC system_header
+ #define       _BSD_SIZE_T_DEFINED_
  #include <string.h>

// Get rid of those macros defined in <string.h> in lieu of real functions.




                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]