LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   write compile c++ profram in RHEL5 (https://www.linuxquestions.org/questions/linux-software-2/write-compile-c-profram-in-rhel5-755586/)

Jagoul 09-16-2009 06:12 AM

write compile c++ profram in RHEL5
 
i wanna know the package and the steps to write and compile successfully
a c++ program om my linux RHEL5
Quote:

[Jagoul@localhost ~]$ uname -r
2.6.18-92.el5
[Jagoul@localhost ~]$ gcc --version
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

so plz i need a good tetorial for it

Febi881 09-16-2009 06:24 AM

Quote:

Originally Posted by Jagoul (Post 3684899)
i wanna know the package and the steps to write and compile successfully
a c++ program om my linux RHEL5



so plz i need a good tetorial for it



This might be mhelpful for you.
http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html

knudfl 09-16-2009 08:32 AM

To compile c++ , you will need the package 'gcc-c++'

providing : /usr/bin/g++

# yum install gcc-c++


All times are GMT -5. The time now is 08:28 AM.