LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring srcdir & objdir for GCC as a pre-requisite for installing Apache (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-srcdir-and-objdir-for-gcc-as-a-pre-requisite-for-installing-apache-839337/)

Cerh 10-20-2010 12:49 PM

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’m at the point where I’m configuring gcc-4.5.1 as a pre-requisite for Apache. I’ve already installed autoconf and make/automake, which are pre-requisites for gcc. So, gcc has been download and extracted and I’m 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

paulsm4 10-20-2010 12:54 PM

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?


All times are GMT -5. The time now is 09:37 PM.