LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-03-2001, 05:56 AM   #1
veeraganesh
LQ Newbie
 
Registered: May 2001
Posts: 5

Rep: Reputation: 0
Angry


can u tell me ion detail how to run and compile c
& c++ programmes on redhat linux 7.0.in detail.i am begineer
 
Old 06-04-2001, 08:00 AM   #2
tyler_durden
Member
 
Registered: May 2001
Posts: 125

Rep: Reputation: 15
gcc
 
Old 06-04-2001, 12:50 PM   #3
abyss
Member
 
Registered: May 2001
Location: New York, USA
Distribution: AIX, Ubuntu
Posts: 113

Rep: Reputation: 16
Yes, but to be more specific (if you want to prepare for debugging)...

gcc -Wall -ggdb sourcefile.c -o outputfile

will specify the name of the output file.
 
Old 07-01-2008, 10:49 AM   #4
amber21
LQ Newbie
 
Registered: May 2008
Location: India
Distribution: Ubuntu Jaunty
Posts: 6

Rep: Reputation: 0
downloaded gcc what next

I'm another raw newbie. I found gcc downloaded it. Now how do i find a texteditor to write my programs. I am used to Turbo C++ in Windows. please tell me how I can shift to gcc in LINUX - I use Ubuntu hardy heron
 
Old 07-01-2008, 11:15 AM   #5
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Rep: Reputation: 31
There are many text editors. If you're comfortable with cli apps, there's emacs, vi or vim, nano and a few others. If you prefer something more graphical there's gvim, emacs, leafpad, gedit, kedit and many others.

Although it's encouraged to use a text editor and gcc or g++, there are IDE's available such as Anjunta and Eclipse (with the C/C++ plugin).

In Ubuntu, if you go through the menu, you can navigate to "text editor" (gedit) and then use gnome-terminal to compile. What I would suggest though is using either emacs or vim to edit, then you have a more direct access to the compilers.
 
Old 07-02-2008, 03:35 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by tyler_durden View Post
gcc
And for C++ programs, g++
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ways To Run Windows & Linux Same Time megadeth Linux - Software 1 03-13-2005 05:45 PM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 07:27 AM
How to Installing/Unistalling Programmes in Linux (RH9)?? AskMe Linux - Newbie 4 09-24-2003 12:44 PM
Branded laptops that can run linux 7.1,7.2 & AS 2.1 fan_of_linux Linux - Laptop and Netbook 1 09-10-2003 02:15 AM
Run & use redhat from a cdrom w/no hd? csjosh Linux - Newbie 3 07-18-2002 03:12 PM

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

All times are GMT -5. The time now is 10:23 PM.

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