www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/01/01/16:40:30

X-POP3-Rcpt: mlehmann AT universe DOT sgh-net DOT de
Message-ID: <34ABC6FD.DBFDF554@billabong.demon.co.uk>
01 Jan 1998 16:40:30 +0000 :
From: John Hayward-Warburton <hay-warb AT billabong DOT demon DOT co DOT uk>
Organization: Associated-Rediffusion Television Prods. Ltd.
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.1.76 i586)
MIME-Version: 1.0
To: beastium-list AT Desk DOT nl
Subject: Compiling libg++-2.7.2.8
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 27

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019