LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2008, 11:33 PM   #1
Rabia
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Exclamation gcc comipler in fedora core 2


Hey i am new wibe here and for the very first time using the linux operating system (Fedora core 2).
i wanted to know where should we type our source code and wiv which extension we have to sav em in which directory and also tell me how to install the gcc compiler and the compiling executing commands too.
 
Old 11-07-2008, 12:44 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Firstly, get rid of Fedora 2 and install something that's newer and still supported (Fedora 9?). You will be able to install gcc using your distribution's package manager. If you're going to stick with Fedora, see the documentation on their website for information.

Here's a short guide to using gcc.
 
Old 11-07-2008, 01:06 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by Rabia View Post
Hey i am new wibe here and for the very first time using the linux operating system (Fedora core 2).
i wanted to know where should we type our source code and wiv which extension we have to sav em in which directory and also tell me how to install the gcc compiler and the compiling executing commands too.
You type your source code into a text editor and the extension is irrelevent.
It is traditional to save C code with a .c extension and C++ code with a .cpp extension. There is no special extension for executables.

The gcc compiler comes with the fedora core 2 DVD.

Some tips to help you get better responces:
1. You have already been told about upgrading your OS to something recent. If you like fedora - suggest fedora 9 or 10 (when it is out). What you are using is equivalent to using (I'm guessing) Win95. There is no support for it.
See. www.fedorafaq.org

2. Please edit your profile to show your location (and distro - saves typing) as this helps us give you better replies.
See. http://www.linuxquestions.org/questi...do=editprofile

3. Please write properly. People who deliberately write sloppily as you have are often sloppy in other ways as well. You don't want to be confused wih those people.
See. http://www.catb.org/~esr/faqs/smart-...html#writewell

4. The operating system is called GNU - Linux is one of it's kernels. "fedora" is the brand name of the distribution. Most of us get into sloppy habits and forget that newcomers don't always realize these distinctions.
See. http://www.gnu.org/gnu/why-gnu-linux.html

Don't worry - we were all new once.

Last edited by Simon Bridge; 11-07-2008 at 01:08 AM.
 
  


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
installing gcc on fedora core 2 TempleOwl1999 Linux - Newbie 9 12-14-2006 06:04 AM
gcc 2.96 on Fedora Core 5 vincentpaul Linux - Desktop 1 11-29-2006 06:10 AM
Need help finding GCC on Fedora Core 5 CD Antarctica Linux - Software 2 09-06-2006 11:23 PM
Need help installing GCC on Fedora Core 5 please Antarctica Linux - Software 2 09-04-2006 06:15 PM
GCC For Fedora Core 3 TwiztedTom Linux - Software 2 05-09-2005 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 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