gcc -print-file-name=cpp
Our gcc prints `cpp' when invoked as gcc -print-file-name=cpp. Every other gcc in the world seems to output something along the lines of /usr/lib/gcc-lib/i386-linux/2.95.2/cpp. This includes other gcc 3.0 and 3.1 versions. Would someone care to track this down? This bug currently requires a patch to glibc in order to get glibc to build, and Ulrich rightly refuses to apply this patch to glibc CVS.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 6 lines
Our gcc prints `cpp' when invoked as gcc -print-file-name=cpp. Every other gcc in the world seems to output something along the lines of
/usr/lib/gcc-lib/i386-linux/2.95.2/cpp. This includes other gcc 3.0 and 3.1 versions. Would someone care to track this down? This bug currently requires a patch to glibc in order to get glibc to build, and Ulrich rightly refuses to apply this patch to glibc CVS.
Is there a library file with the name `cpp' on your system? In gcc 3.0, the preprocessor is builtin, although there is a standalone processor cpp0.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
Quoted 1 line · John David Anglin
Is there a library file with the name `cpp' on your system?
There's /lib/cpp and /usr/bin/cpp which are both symlinks to /usr/bin/cpp-3.0. There's also /usr/lib/gcc-lib/hppa-linux/3.0/tradcpp0 and /usr/lib/gcc-lib/hppa-linux/3.0/cpp0, neither of which are links to anything.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 7 lines · John David Anglin
Quoted 1 line
Is there a library file with the name `cpp' on your system?
There's
/lib/cppand/usr/bin/cppwhich are both symlinks to/usr/bin/cpp-3.0. There's also/usr/lib/gcc-lib/hppa-linux/3.0/tradcpp0and/usr/lib/gcc-lib/hppa-linux/3.0/cpp0, neither of which are links to anything.
Try `gcc -print-search-dirs' and see if for some strange reason /lib isn't in the library search path.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
Quoted 2 lines · John David Anglin
Try `gcc -print-search-dirs' and see if for some strange reason /lib isn't in the library search path.
/lib is indeed in the library search path, although not the programs.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 5 lines · John David Anglin
Quoted 2 lines
Try `gcc -print-search-dirs' and see if for some strange reason /lib isn't in the library search path.
/lib is indeed in the library search path, although not the programs.
Looks like it's time to fire up the debugger.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)