...GCC compile/make error on Red Hat 5.2

John (Eljay) Love-Jensen eljay@adobe.com
Fri Oct 30 02:12:00 GMT 2009


Hi Joe,

It appears that the GCC 4.4.2 source is located here:
/de/gcc/gcc-4.4.2

And I take it that you are also trying to ./configure and make in that
self-same directory.

As per the GCC instructions <http://gcc.gnu.org/install/>, running
./configure in the source directory, or any subdirectory thereof, is not
supported.

I've never had success trying to do that.

You should make a build directory, e.g.:
mkdir /de/gcc/gcc-4.4.2-build
cd /de/gcc/gcc-4.4.2-build
/de/gcc/gcc-4.4.2/configure
make

That will keep the source and the build separated.

Note:  since you have run configure within the source code directory, the
source code is tainted.  You will want to rm -rf /de/gcc/gcc-4.4.2 and untar
the source fresh.

HTH,
--Eljay



More information about the Gcc-help mailing list