LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-18-2007, 05:41 AM   #1
YouWillNverWalkAlone
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
How to install gcc complier


hi i have already download gcc complier from the internet and i have to install it. there are 6 steps top install it :

1. Prerequisites
2. Downloading the source
3. Configuration
4. Building
5. Testing (optional)
6. Final install

I m stuck on the configuration part , i do not know how to configure because http://gcc.gnu.org the configuration guide they give is too hard and diffcult for me to understand , is there anyone can tell me an easier way of configure or refer me to other website or even teach me how to configure ? right now i have done nothing to configure. i m very stress and my dateline is already fast approaching. anyone please help me. thank you very much.
 
Old 07-18-2007, 05:43 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Every distro comes with a gcc compiler package. You don't need to build it yourself.
 
Old 07-18-2007, 05:54 AM   #3
YouWillNverWalkAlone
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
so if there is gcc complier in my linux machine , then how do i know i have it? do i need to configure again?is it already install?
 
Old 07-18-2007, 06:11 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Use your package manager system and install gcc & g++. The latter is the C++ compiler front end.
 
Old 07-18-2007, 09:17 PM   #5
babyswan
LQ Newbie
 
Registered: Jul 2007
Posts: 22

Rep: Reputation: 15
What are the commands to use to check whether the gcc compiler is working?

Hi there. I am doing a project on firmware and linksys router. A intrusion detection device.
I was asked to use the gcc compiler to compiler codes.
However I am lost. I do not know how to use the gcc compiler at all. The internet research is not efficient enough.

Does anyone know what are the commands to test and check whether the gcc compiler is working?
How do I know whether the compiler is working? What are the commands to test that it works?
Do i also type the commands at the command shell prompt?
I hope someone replies me fast as no one is able to help me with this. I am feeling so stressed up right now because the project module points is a lot and I think i am failing this module.


Very much appreciated if some1 is able to help me! *sobz*
 
Old 07-19-2007, 12:53 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You can start with typing:

man gcc


This is the manual for gcc. Generally man X will give you the manual for X.

Last edited by lazlow; 07-19-2007 at 12:56 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
how to install gcc complier YouWillNverWalkAlone Linux - Software 1 07-17-2007 02:57 AM
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
Conflict errors trying to install C Complier mike8994 Mandriva 3 05-19-2004 11:59 AM
gcc complier not working in ark linux evcloud Linux - Software 1 02-05-2004 01:55 AM
I've installed gcc, how do i build a complier environment? Derek-kun Linux - Newbie 4 09-23-2003 10:50 PM

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

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