United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
Red Hat Enterprise Linux 3 has the compat-gcc-c++ package that provides g++296 from gcc 2.96.
It may be installed using up2date:
up2date -i compat-gcc-c++
|
Alternatively, it may be downloaded from Red Hat Network (RHN) or from your install CD's and installed manually using the rpm command.
Note that compat-gcc is also required. If you use up2date to install compat-gcc-c++, the compat-gcc package will be downloaded and installed as a dependency for you. If you use RPM to install manually you will have to install both at once:
rpm -ivh compat-gcc-c++-<version>.rpm; compat-gcc-<version>.rpm
|
To verify the package and view the files the package provides use the rpm command:
# rpm -ql compat-gcc-c++
/usr/bin/g++296
/usr/bin/i386-redhat-linux7-c++
/usr/bin/i386-redhat-linux7-g++
/usr/lib/gcc-lib
...
|
The version of g++296 may now be verified with the command:
# g++296 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux7/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-128)
|