LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2009, 06:12 AM   #1
Jagoul
Member
 
Registered: Aug 2009
Location: beirut-lebanon
Distribution: red hat enterprise 5 on my pc,and suse 11 on my laptop
Posts: 38

Rep: Reputation: 15
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
 
Old 09-16-2009, 06:24 AM   #2
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by Jagoul View Post
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
 
Old 09-16-2009, 08:32 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
To compile c++ , you will need the package 'gcc-c++'

providing : /usr/bin/g++

# yum install gcc-c++
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux: RHEL4 to RHEL5 rules migration - unknown type var_lib_t in RHEL5 zbiggy Red Hat 2 05-12-2009 03:14 AM
steps to write, compile, and execute a C program in Linux environment arnoldschrewanger Programming 1 03-10-2009 10:17 AM
Cannot compile PHP4 on RHEL5, 'mysql headers not found' lefty.crupps Linux - Server 2 01-28-2009 12:12 PM
Mac user cannot write to samba share on RHEL5 server PixPocket Linux - Enterprise 0 01-18-2009 06:12 PM
problem configure RHEL5 kernel to read & write NTFS file system. hocheetiong Linux - Newbie 3 07-08-2008 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration