Re: RHAW 2.1, gcc and libstdc++ question

Bill Nottingham <[email protected]> Tue, 17 Jun 2003 12:54:31 -0400
Newsgroups gmane.linux.redhat.ia64.general
Message-ID <[email protected]>
Emeric Maschino ([email protected]) said: 
> I'm currently running RHAW2.1 on a hp workstation. gcc 2.96 is the 
> default compiler with this distribution but there are gcc 3.0.4 packages
> available too. Once gcc 3.0.4 with all the needed components (mostly new
> libstdc++3) are installed on my system, how can I make it the default
> compiler (I mean, are there system wise configuration files to do this
> or not)? When compiling using gcc 3.0.4 (actually gcc3 command), how can
> I target my source code to include and link against the new libstdc++3
> and not libstdc++ library (provided with the gcc 2.96 packages)? By
> default, it seems even gcc3 includes and links against the old library

Are you invoking 'gcc3' or 'g++3'? You need to use 'g++3' to build/link
C++ programs.

Bill