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]

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


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. 

Cheers,
Alex
--
 /\_/\  Legalise cannabis now! 
( o.o ) Grow some cannabis today!
 > ^ <  Peace, Love, Unity and Respect to all.

http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!

Linux tahallah 2.1.131 #66 SMP Sat Dec 5 19:22:40 EST 1998
Two Intel Pentium Pro 166MHz processors, 331.78 total bogomips, 48M RAM
System library 2.0.105


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