Mail Archives: pgcc/1998/01/01/16:40:30
Hello. I'm sure I've seen this before, but cannot track the answer
down. How does one compile libg++-2.7.2.8 for Linux with pgcc? Or
does one wait for a working libg++.2.8.0 (which doesn't seem to
compile right with the distributio of egcs-1.0 + pgcc)? It's no
great problem... my old 2.7.2.8 binaries are still working ok here.
The problem I get is:
gcc -c -g -O2 -fno-implicit-templates -I. -I../libio -I./../libio
-nostdinc++ -DC `for N in EXTRACT INSERT GETLINE; do echo " -D${N}";
done` \
./sinst.cc -o cstrio.o
../sinst.cc:146: no matching template for `getline(istream &,
basic_string<char,string_char_traits<char> > &)' found
make[1]: *** [bigstmp-string] Error 1
The problem with libstdc++.so.2.8.0 is something to do with
-lpthread being necessary (no difficulty) but one symbol which I
can't remember still is unresolved.
Otherwise, pgcc performs very well here so far on Linux 2.1.76 +
glibc2 (all compiled using -O6 -mpentium ... hold your breath!)
Best wishes, and thanks to all the developers
John Hayward-Warburton
linux at billabong dot demon dot co dot uk
- Raw text -