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]

[Fwd: configure issues: can not guess host type]


 


I'm not sure where I should be reporting this, so if I'm sending this to
the wrong person, please let me know where to send this.

Using SuSE 6.3, the initial install by default uses egcs, I believe.
After downloading gcc 2.95.2, compiling, and installing, I uninstalled
egcs. At this point, configure scripts began telling me that they were
unable to guess my host type. After some careful searching through
configure and config.guess, I determined that the problem was that
config.guess tried to compile a C program using cc as part of
determining the host type. The problem was that cc didn't exist on my
system any longer. Apparently, when egcs was uninstalled, that took cc
with it. Making a symbolic link from cc to gcc makes the configure
scripts work correctly.

This is probably not a bug, but rather just something that comes up in
the process. However, it seems to be affecting a lot of people, based on
my searches through Deja News for a solution. Unfortunately, I didn't
see any solutions to the problem (other than providing the host name
manually), and many people's response in the newsgroups seemed to be
inaccurate. So this might make a good addition to the FAQ.



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