LinuxQuestions.org
Help answer threads with 0 replies.
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 10-20-2010, 12:49 PM   #1
Cerh
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Configuring srcdir & objdir for GCC as a pre-requisite for installing Apache


Hello,

I've been configuring Apache on Red Hat Linux 5 for the past 2 weeks and I知 at the point where I知 configuring gcc-4.5.1 as a pre-requisite for Apache. I致e already installed autoconf and make/automake, which are pre-requisites for gcc. So, gcc has been download and extracted and I知 configuring before it can be built.

What is suggested is srcdir is used to refer to the top level source directory for GCC; and objdir for the top level build/object directory. So, my question is all the files located directly underneath /gcc-4.*.*/ such as ChangeLog, MAINTAINERS should be moved into the srcdir folder? And all the subfolders OR all the files within subfolders belong in the objdir folder? Lastly, does srcdir & objdir both belong along the same file structure underneath /gcc-4.*.*/?

Tito
 
Old 10-20-2010, 12:54 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
No, it's really much simpler: just extract the tarball anywhere you want, configure and build.

PS:
Of course, you need a compiler in order to build a compiler. I assume you've already got one version of gcc (e.g. from an .rpm), and you're trying to build a different version. Correct?
 
  


Reply

Tags
apache, gcc


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 & Configuring FFmpeg & Segmenter Rudy Linux - Software 12 05-05-2010 05:08 PM
pre-requisite of traffic control Barq Linux - Networking 3 04-19-2009 09:35 AM
Pre-Requisite to Posting URLs to other sites... twfey LinuxQuestions.org Member Intro 1 10-20-2008 06:24 PM
Dual Boot Pre-requisite Question... GNewbie Linux - Newbie 4 01-13-2006 11:48 AM
Installing / configuring GCC ca9mbu Programming 0 11-21-2001 05:38 AM

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

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