SUMMARY: libg++-2.8.0 compile problem

Jon Mitchell (jrmitche@uiuc.edu)
Fri, 16 Jan 1998 19:53:26 -0600

Thanks to Justin Zaglio <justin@caxton.com> who sent the correct answer.
libg++-2.8.0 can't be compiled with older versions of gcc. Not only that,
but contrary to what it said in the README, you can not use an uninstalled
version of gcc-2.8.0 to compile it. Or at least it didn't work for me
(tried making the symlink to the gcc I wanted to use as suggested, and
also set CC to be the old gcc with full path to binary). After installing
gcc-2.8.0, I was able to compile libg++ normally.

-- 
Jon Mitchell				Here's a nickel, kid...
CCSO Workstation Support Group
jrmitche at uiuc dot edu		*speaks only for himself*

-------- Original message as follows:

I'm having a problem getting libg++-2.8.0 to compile. I tried compiling it with a not installed gcc-2.8.0, and when that didn't work tried with an installed gcc-2.7.2.3. Here's the error it chokes on:

make[1]: Entering directory `/usr/share/src/libg++-2.8.0/libraries/libio' test -z "" || \ c++ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++ fstream.cc -o pic/fstream.o c++ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++ fstream.cc In file included from fstream.h:30, from fstream.cc:34: iostream.h:91: parse error before `__extension__' iostream.h:208: parse error before `__extension__' make[1]: *** [fstream.o] Error 1 make[1]: Leaving directory `/usr/share/src/libg++-2.8.0/libraries/libio' make: *** [all-target-libio] Error 2

Any ideas? I WILL summarize.

--
Jon Mitchell                            Here's a nickel, kid...
CCSO Workstation Support Group
jrmitche at uiuc dot edu                *speaks only for himself*

--------