This is the mail archive of the gcc@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]

configure not finding host problem - Fixed it!


The online mailing list archive held the answer to my question:

Removing egcs also removed cc from my system. Without cc,
configure could not guess my host type. Making a symlink from cc
-> gcc solved my problem. This should be added to the FAQ as I
can see it happening often.

Here is the ML archive:
http://gcc.gnu.org/ml/gcc/2000-01/msg00209.html

Thanks.

On Mon, 2 Oct 2000 17:19:56 +0200, Jan Dvorak said:

> On Mon, Oct 02, 2000 at 08:03:41AM -0700, Michael Clifford wrote:
>  > Hello everyone,
>  > 
>  > I have one question. I am running RedHat 6.1 and decided to
>  > update gcc. I downloaded gcc-2.95.2 source. 
>  > 
>  > I Then followed the install instructions to install a native
>  > compiler. From the top level directory of the tarball I did:
>  > 
>  > mkdir objdir
>  > cd objdir
>  > ./configure --prefix=/usr
>  > make bootstrap
>  > 
>  > All that was fine and well. I then removed the egcs rpms from my
>  > RH install. There were 3 of them.
>  > 
>  > I then did:
>  > make install
>  > 
>  > Everything installed without a hitch. What I do notice now is
>  > that when I run the configure script for any app, it tells me:
>  > 
>  > checking host system type... configure: error: can not guess
>  > host type; you must specify one
>  > 
>  
>  Did you upgrade binutils ? config.guess uses them to see what system you are
>  running. With new binutils, output  format has changed, so you need to
>  obtain new config.guess and replace with it the older ones. I believe that
>  nearly all aplications now had the right config.guess.
>  
>  Jan Dvorak <johnydog@go.cz>
>  
>  

-- 
Michael Clifford
http://www.eternal-bliss.com

"We can only learn so much and live." -- Thomas Harris


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