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]

Re: Help! messed up my compiler or libraries with pgcc


You might be helped with creating a sym link from /bin/cc to egcs.
configure needs a 'cc' to exist.

| I installed RH5.1 fresh a few weeks ago. Recently I got brave and installed
| the pgcc 1.03a compiler, from the RH5 rpms on Redhat's site. After toying
| with it for awhile I decided to uninstall pgcc. Disaster! I have removed both
| the pgcc and egcs RPMS, removed the /usr/lib/gcc-lib/i586-pc-linux-gnu
| directory, ran ldconfig, and now installed the latest egcs1.03a compiler
| suite from Redhat's update section. Now I have apparently messed something
| up, since nothing that uses a configure script will compile anymore. Help!
| 
| Here are a couple of examples (these compiled fine before I messed with the
| compilers) :
| 
| [root@syrinx kwave28]# configure
| loading cache ./config.cache
| checking host system type... i586-pc-linux-gnu
| checking target system type... i586-pc-linux-gnu
| checking build system type... i586-pc-linux-gnu
| checking for a BSD compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for working aclocal... found
| checking for working autoconf... found
| checking for working automake... missing
| checking for working autoheader... found
| checking for working makeinfo... found
| checking whether make sets ${MAKE}... yes
| checking for gcc... egcs
| checking whether the C compiler (egcs -O2 -Wall -s) works... no
| configure: error: installation or configuration problem: C compiler cannot
| create executables.                 
| 
| [root@syrinx kdebase-1.0]# configure
| creating cache ./config.cache
| checking host system type... configure: error: can not guess host type; you
| must specify one
| [root@syrinx kdebase-1.0]# configure
| loading cache ./config.cache
| checking host system type... configure: error: can not guess host type; you
| must specify one                   
| 


-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>


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