LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-02-2002, 09:11 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 492

Rep: Reputation: 33
gcc install


I'm reading the installation instructions for the latest version of gcc and I'm not sure what some of it means.

"If you have previously built gcc in the same directory for a different target machine, do makedistclean to delete all files that might be invalid."

Is a target machine one on a network and wouldn't apply to my one computer?

"When configuring a native system, either cc or gcc must be in your path or you must set cc in your environment before running configure. Otherwise the configuration scripts may fail."

I have no idea what that means.

"To configure gcc:
mkdir objdir
cd objdir
srcdir /configure [options] [target]"

Is objdir a generic term and I'm supposed to name the new directory myself?

Same question for srcdir.

Thanks for helping this n00b.
 
Old 09-02-2002, 09:22 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Is a target machine one on a network and wouldn't apply to my one computer?
Yes the target machine is the machine that you intend to install on.

Quote:
Is objdir a generic term and I'm supposed to name the new directory myself?

Same question for srcdir.
Yes, that is a generic term, you can name it whatever you want.. maybe something like gcc-3.2 or something easy to remember.

Quote:
"When configuring a native system, either cc or gcc must be in your path or you must set cc in your environment before running configure. Otherwise the configuration scripts may fail."

I have no idea what that means.
This means that when your running the command to install software, you need to make sure gcc is in your user's path. A good place to install would be somewhere in the /usr directory. To find out what paths your user has, like root or any user, type $PATH at a command, it will print the path's it uses to look for programs or commands.
 
  


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
cant install gcc nikoz Linux - Software 4 12-02-2004 01:23 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
how to install gcc big_bailey Linux - Software 3 07-23-2004 12:47 AM
Install GCC BizHat.com Linux - Software 10 07-19-2004 04:26 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM

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

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