gcc-2_95-branch without egcs_update problem

Frédéric L. W. Meunier 0@pervalidus.net
Sat Jun 16 22:50:00 GMT 2001


Hi. I downloaded gcc-2_95-branch from CVS and did
/usr/local/src/CVS/GNU/gcc/configure --prefix=/usr
--enable-languages=c --disable-nls ; make BOOT_CFLAGS=-O2
CFLAGS=-O LIBCFLAGS=-O2 LDFLAGS=-s bootstrap

When I tried to build another package, it complained:

Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/pervalidus/objdir using "mh-frag" and "mt-frag"
gcc: installation problem, cannot exec `cpp0': No such file or directory
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

After some time I noticed that it couldn't find cpp0 because it
was searching /usr/lib/gcc-lib/@target_alias@/2.95.4/ and not
/usr/lib/gcc-lib/i686-pc-linux-gnu2.95.4/ !

Then I removed the modified files (gcc/config.in,
gcc/configure, and gcc/cstamp-h.in) and used egcs_update. The
new build worked.

I'm using autoconf 2.50, automake 1.4-p4, and libtool 1.4.

-- 
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-717-2399 (Niterói-RJ BR)



More information about the Gcc-bugs mailing list