This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem compiling glibc with gcc 2.95.3
- To: gcc at gcc dot gnu dot org
- Subject: Problem compiling glibc with gcc 2.95.3
- From: Venetis Ioannis <venetis at ceid dot upatras dot gr>
- Date: Mon, 19 Mar 2001 17:08:06 +0200 (EET)
Hi,
I am afraid that I am the first one to report a problem using gcc 2.95.3.
I compiled the new gcc from source using the previous
(2.95.2) version. Everything went OK and I also compiled succesfully a
kernel (2.4.1) using the new compiler. But when I tried to compile glibc
2.1.3 I got an error message.
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'.
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.
Ioannis E. Venetis
P.S: Please cc your answers to me as I am not on the list.
P.S.2: If this is a bug, should I report it to the GNATS database?