gcc-3.4.4 fails to install on RH 7.3: i686-pc-linux-gnu/bits/stdc++.h.gch/ is empty

Ed Leaver eleaver@sterlingseismic.com
Thu Aug 11 02:55:00 GMT 2005


Hi. I've been trying to keep at least the compilers uptodate on a Red
Hat 7.3 SMP system for which I am not alas at libiberty to upgrade the
OS. So far I've not had problems compiling and installing GCC up through
gcc-3.4.2.

I do have a problem with gcc-3.4.4 (and gcc-4.0.1) that has me stumped.
Everything compiles OK using a previously-built gcc-3.3.4, but the "make
install" fails with 

 for file in ./i686-pc-linux-gnu/bits/stdc++.h.gch/*; do \
  /usr/bin/install -c -m 644 $file
/usr/local/gnu/gcc-4.0.1/include/c++/4.0.1/./i686-pc-linux-gnu/bits/stdc++.h.gch; done
/usr/bin/install: cannot stat `./i686-pc-linux-gnu/bits/stdc++.h.gch/*':
No such file or directory


And in fact further investigation leads to the remarkable discovery that
objdir//i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h.gch/
is in fact completely empty.

My configure command is 
../gcc-4.0.1/configure --prefix=/usr/local/gnu/gcc-4.0.1
--enable-languages=c,c++ 

Adding --enable-pch or --disable-pch has no apparent effect.

Is there perhaps a "--with-ld=???" option that should be enabled?

The reason I'd like the most uptodate GCC is because I'm trying to track
the development of g77 and g95, for which I'm rapidly approaching an
immediate need, and I'd like to keep abreast of their bug-fixes. 

Any suggestions for how to configure these recent gcc suites? 

Thanks!
Ed Leaver




More information about the Gcc-help mailing list