In article AB8MhTu4DP@khim.sch57.msk.ru, Khimenko Victor gpc@khim.sch57.msk.ru writes
7-Jan-00 23:28 you wrote:
I have successfully built gcc-2.95.2 and gpc on one of my Linux systems. I have just done a fresh install of Linux (RedHat 6.0) on a different system. I have installed the gcc-2.95.2 sources and the latest gpc snapshot (from the same tar files as used for the first installation). I have successfully applied the gpc patches. However when I try to ../gcc-29.2/configure --enable-languages=c++,pascal the process fails almost immediately with the message "config.guess failed to determine the host type. You need to specify one".
Run config.guess by hand and look on error messages. I've got similar messages when I forgot to install binutils :-) Some basic development package like binutils/gcc/kernel-headers/etc is not installed...
Running config.guess didn't help much. However by using diff to compare installed packages on the two computers I realised that the immediate problem was that the glibc-devel rpm wasn't installed. I think I had got confused between glib-devel and glibc-devel. Subsequently it also emerged that I hadn't installed bin86 (as86 assembler) but at least this time the error messages were obvious. Thank you for your help. It was useful to get confirmation that the problem was likely to be a missing package. I now have gpc built and running:)