This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re:gcc cannot create executables
- To: "Edward J. King" <king at biology dot utah dot edu>
- Subject: Re:gcc cannot create executables
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Mon, 28 Aug 2000 18:24:49 +0200
- Cc: gcc at gcc dot gnu dot org
At 17:59 28.08.00, Edward J. King wrote:
>I am also having Guoben Li's problem. gcc will not get past the
>'configure' stage in any compile.
>
>I have RH 6.0 on Intel, and have installed (and now re-installed) gcc
>(egcs 1.1.2) and binutils (2.9.1.0.22b) from the RH distribution CD. I
>consistently get the following from any attempt to 'configure'. Is there
>any other reason you can think of for this result? I have searched a
>variety of mailing-list archives, and seen this problem reported before.
>Often, there is no answer provided. I believe this is second time
>I've found the binutils requirement mentioned, but I have binutils
>installed!
>
>I'm still pretty new at this, and wonder if I'm not missing something
>very obvious. (?)
On RH6.x you should have installed the following packages:
binutils
cpp <-- often forgotten
egcs
glibc-devel <-- ditto
And additionally for C++:
egcs-c++
libstdc++
libstdc++-devel
And don't forget there are actually 2 compilers available on RH6.x,
gcc-2.7.2 and egcs-1.1.2. I think by default gcc is linked to gcc-2.7.2,
you can check with "gcc -v" and "egcs -v". If only the latter works, try
running your configure script with:
CC=egcs ./configure ....
Franz.