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]

Re: Problem compiling glibc with gcc 2.95.3


On Mon, 19 Mar 2001, Venetis Ioannis wrote:
>
> While compiling the glibc 2.1.3 source a program named 'rpcgen' is created
> in the directory 'sunrpc'. This program is used to further compile the
> library, but when it was invoked I got an error message telling that it
> could not find the C preprocessor 'cpp'.

Precise error messages, please.  Also, what does "gcc -v" report?

> I found that the problem is in the directory
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 (the default
> directory where I installed the new gcc). There lies a file named
> 'cpp0'. The same file is named 'cpp' in gcc 2.95.2, and lies under the
> directory /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2.
> I created a link cpp -> cpp0 in the directory
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 and compiled again
> glibc. This time everything worked OK.
>
> My question is if the name cpp0 of the above file is correct or if it
> should be cpp and thus we have a bug.

No, the name is correct.  I'm suspecting some kind of other installation
problem.


Bernd


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