Configuring srcdir & objdir for GCC as a pre-requisite for installing Apache
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.*.*/?
No, it's really much simpler: just extract the tarball anywhere you want, configure and build.
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 05:42 AM.|