LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-30-2006, 01:10 PM   #1
unknowwhere
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
How to install Gcc


hello
This is my problem. I have a source of C++. I want to Compile it in the Linux, I use Fedora Code 4.I asked many people about this and I was told that to compile the C++ source I have to have the GCC (GNU linux Compiler) im my FC but I don't know how to install GCC.
Please help me and Thanks.
 
Old 09-30-2006, 01:38 PM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
http://unclean.org/howto/gcchowto.html
 
Old 09-30-2006, 01:57 PM   #3
Gzou
Member
 
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Rep: Reputation: 16
Basically, In linux, there are 2 main ways to install software :

-Compile from Source
-Install Binary packages

GCC is what is used when you want to compile software from source tarballs, but the problem is to install GCC from source you need another version of GCC already on your computer, which doesn't seem to be the case.

The other option is to install binary packages. I've never tried Fedora Core, but from what I hear it uses RPMs as binary packages.

(checking website....)

Yup ! So What I would suggest is to install GCC using pirut. According to the Fedora Core website, You go into your menu on the desktop, select Application, then Add/Remove programs. Then do a search for GCC, and install the RPMs.

That's about it from my point of view. Maybe someone who has fedora core on this forum can help you better.

But what i'm wondering is why to you need to compile the C++ source ? why not use GNU's equivalent, 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
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 03:42 AM
Help me install GCC today! <-- 1yr without gcc :( nectron101 Linux - Newbie 4 04-17-2006 08:57 PM
install new gcc v3.4.5 over gcc v3.2.2 on red hat 9 mlaich Linux - Newbie 2 01-01-2006 09:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 11:20 PM


All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration