egcs-1.1.1's cpp preprocessor didn't get installed to /usr/bin

Jeffrey A Law law@cygnus.com
Tue Dec 8 21:07:00 GMT 1998


  In message < Pine.LNX.4.05.9812082308220.15135-100000@tahallah.demon.co.uk >you
 write:
  > I was building glibc-2.0.106 today. It crapped out with a missing CPP
  > preprocessor build error. I did a look around and found, that cpp was of
  > the older egcs-1.1b, not egcs-1.1.1 as I had expected.
  > 
  > tahallah[alex]:/home/alex > whereis cpp
  > cpp: /usr/bin/cpp /usr/man/man1/cpp.1.gz
  > tahallah[alex]:/home/alex > cpp -v
  > GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (i386 Linux/ELF)
  > #include "..." search starts here:
  > #include <...> search starts here:
  >  /usr/i686-pc-linux-gnu/include
  >  /usr/include
  > End of search list.
  > 
  > tahallah[alex]:/home/alex > g++ -v
  > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.60/specs
  > gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
  > 
  > Hmm. What did it do with the newer cpp? Ah yes, found it in
  > /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.60/ Presumably there's a
  > problem with the installation process somewhere. 
  > 
  > FIX: Copy the newer cpp on top of the older cpp. Fixes things. 
The standard egcs distributions never install cpp into a user binary
directory.  It is only installed into the gcc's internal directories.



jeff



More information about the Gcc-bugs mailing list