This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build failure on Darwin



I get the following errors in libstdc++ when trying to build gcc (head
or 3.1 branch) on the powerpc-apple-darwin5.3 platform (Mac OS X
version 10.1).

It seems that the system's ctype.h only defines macro versions of the
ctype functions, and this is probably causing the problem.

Also tried using the c_shadow headers, but that didn't help.

Has anyone succeeded in building gcc3 on Mac OS X?

Thanks,

Marcus



-----------------------------------------------------------------------

/Users/marcus/gcc/objdir/gcc/xgcc -shared-libgcc -B/Users/marcus/gcc/objdir/gcc/ -nostdinc++ -L/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/src -L/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/src/.libs -B/usr/local/powerpc-apple-darwin5.3/bin/ -B/usr/local/powerpc-apple-darwin5.3/lib/ -isystem /usr/local/powerpc-apple-darwin5.3/include -nostdinc++ -I/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3 -I/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include -I../../../../libstdc++-v3/libsupc++ -I../../../../libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../../libstdc++-v3/src/globals.cc -o globals.o
In file included from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/bits/localefwd.h:48,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/ios:48,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/istream:44,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/fstream:45,
                 from ../../../../libstdc++-v3/src/globals.cc:30:
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:66: `
   isalnum' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:67: `
   isalpha' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:68: `
   iscntrl' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:69: `
   isdigit' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:70: `
   isgraph' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:71: `
   islower' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:72: `
   isprint' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:73: `
   ispunct' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:74: `
   isspace' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:75: `
   isupper' not declared
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/cctype:76: `
   isxdigit' not declared
In file included from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/bits/locale_facets.h:392,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/ios:51,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/istream:44,
                 from /Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/fstream:45,
                 from ../../../../libstdc++-v3/src/globals.cc:30:
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h: In
   member function `bool std::ctype<char>::is(unsigned int, char) const':
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:50: no
   matching function for call to `isspace(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:53: no
   matching function for call to `isprint(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:56: no
   matching function for call to `iscntrl(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:59: no
   matching function for call to `isupper(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:62: no
   matching function for call to `islower(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:65: no
   matching function for call to `isalpha(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:68: no
   matching function for call to `isdigit(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:71: no
   matching function for call to `ispunct(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:74: no
   matching function for call to `isxdigit(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:77: no
   matching function for call to `isalnum(char&)'
/Users/marcus/gcc/objdir/powerpc-apple-darwin5.3/libstdc++-v3/include/powerpc-apple-darwin5.3/bits/ctype_inline.h:80: no
   matching function for call to `isgraph(char&)'



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]