This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

FSF GCC 3.1.1 on Mac OSX ... build error



Hello, all ...

So I didn't want to wait until Jaguar (10.2) and I wanted something that wasn't beta i.e. Apple's current gcc3.1, so I eagerly saw that FSF gcc 3.1 seems to have built on Darwin / Mac OSX and downloaded it. However, i'm experiencing build errors, and would appreciate it if someone told me what i've done wrong ...

I set my stack size to 1024k, I have a separate 'build' directory under the gcc3.1.1 directory. I ran configure thusly:

[pugsley:~/gcc-3.1.1/build]../configure
.
.
.

... then I ran make as follows:

[pugsley:~/gcc-3.1.1/build]time make CC='cc -no-cpp-precomp' bootstrap
.
.
.

... and I get the following errors (which have been reported before -- I searched the archives before sub'ing to this list, but couldn't find the solution):

Making all in src
/bin/sh ../libtool --tag CXX --mode=compile /Users/jmzorko/gcc-3.1.1/build/gcc/xgcc -shared-libgcc -B/Users/jmzorko/gcc-3.1.1/build/gcc/ -nostdinc++ -L/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/src -L/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/src/.libs -B/usr/local/powerpc-apple-
darwin5.5/bin/ -B/usr/local/powerpc-apple-darwin5.5/lib/ -isystem /usr/local/powerpc-apple-darwin5.5/include -nostdinc++ -I/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-darwin5.5 -I/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/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
/Users/jmzorko/gcc-3.1.1/build/gcc/xgcc -shared-libgcc -B/Users/jmzorko/gcc-3.1.1/build/gcc/ -nostdinc++ -L/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/src -L/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/src/.libs -B/usr/local/powerpc-apple-
darwin5.5/bin/ -B/usr/local/powerpc-apple-darwin5.5/lib/ -isystem /usr/local/powerpc-apple-darwin5.5/include -nostdinc++ -I/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-darwin5.5 -I/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/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/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/bits/localefwd.h:48,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/ios:48,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/istream:44,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/fstream:45,
from ../../../../libstdc++-v3/src/globals.cc:30:
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:68: `
isalnum' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:69: `
isalpha' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:70: `
iscntrl' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:71: `
isdigit' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:72: `
isgraph' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:73: `
islower' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:74: `
isprint' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:75: `
ispunct' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:76: `
isspace' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:77: `
isupper' not declared
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/cctype:78: `
isxdigit' not declared
In file included from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/bits/locale_facets.h:397,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/bits/basic_ios.h:41,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/ios:51,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/istream:44,
from /Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/fstream:45,
from ../../../../libstdc++-v3/src/globals.cc:30:
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h: In
member function `bool std::ctype<char>::is(unsigned int, char) const':
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:50: no
matching function for call to `isspace(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:53: no
matching function for call to `isprint(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:56: no
matching function for call to `iscntrl(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:59: no
matching function for call to `isupper(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:62: no
matching function for call to `islower(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:65: no
matching function for call to `isalpha(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:68: no
matching function for call to `isdigit(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:71: no
matching function for call to `ispunct(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:74: no
matching function for call to `isxdigit(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/bits/ctype_inline.h:77: no
matching function for call to `isalnum(char&)'
/Users/jmzorko/gcc-3.1.1/build/powerpc-apple-
darwin5.5/libstdc++-v3/include/powerpc-apple-
darwin5.5/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
6399.140u 861.310s 4:24:00.42 45.8% 0+0k 257+14349io 0pf+0w

... any help is greatly appreciated!

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.mp3.com/fallingyou











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