g++ compilation

Nathan Sidwell nathan@codesourcery.com
Thu Apr 21 15:14:00 GMT 2005


azri abdul majid wrote:
> Hi,
> 
> Where can I find g++ source code for me to install g++ onto my linux
> machine?. Currently I am using Linux Redhat-7.2 (Kernel-2.4.30). I
> successfully compile my cpp file using gcc. But when I type g++,  it
> shows me "bash: g++: command not found". Any ideas or suggesstion?

you need to consult the RH 7.2 release instructions.  You'll most likely
need to install a g++ that is compatible with the gcc you have installed
already. it'll be a g++ rpm file on the distribution CDs (or ftp site).

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-help mailing list