This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/2255: libstdc++ incorrectly uses /lib/cpp to identify host compiler version
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/2255: libstdc++ incorrectly uses /lib/cpp to identify host compiler version
- From: gcc at treblig dot org
- Date: 10 Mar 2001 22:18:00 -0000
- Reply-To: gcc at treblig dot org
>Number: 2255
>Category: libstdc++
>Synopsis: libstdc++ incorrectly uses /lib/cpp to identify host compiler version
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 10 14:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Dr. David Alan Gilbert
>Release: cvs as of 10/3/2001
>Organization:
>Environment:
Linux/Alpha, egcs-1.1.2 is system compiler, but path
set to pick up a recent (2.97+) gcc - verified with gcc -v and g++ -v
Cross building to 68k
>Description:
The libstdc++-v3 configure script uses cpp to determine the gcc
compiler version. (Circa line 2585 in current cvs).
For reasons I do not understand it appears to be picking up
the sytem C preprocessor in /lib/cpp
CXXCPP seems to get set to /lib/cpp
typescript of build available at: http://www.treblig.org/debug/typescript-m68k-cpp
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: