This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1.1's cpp preprocessor didn't get installed to /usr/bin
- To: alex dot buell at tahallah dot demon dot co dot uk
- Subject: Re: egcs-1.1.1's cpp preprocessor didn't get installed to /usr/bin
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Tue, 08 Dec 1998 21:19:00 -0700
- cc: Linux Egcs <egcs at cygnus dot com>
- Reply-To: law at cygnus dot com
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