This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]