This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41596] New: handling of library-related options by g++spec.c causes a failure when generating pch.
- From: "developer at sandoe-acoustics dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2009 20:17:44 -0000
- Subject: [Bug c++/41596] New: handling of library-related options by g++spec.c causes a failure when generating pch.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The recognition of any library-related option in g++-spec.c causes the
insertion of "-lstdc++". This causes link to be invoked when trying to
generate PCH, which then fails. This bit me when trying to run the testsuite
with /-static-libstdc++
The behavior here appears to differ from gcc where one can put "-static-libgcc"
on the CL and the link phase is not invoked for PCH-generation.
--
Summary: handling of library-related options by g++spec.c causes
a failure when generating pch.
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: developer at sandoe-acoustics dot co dot uk
GCC build triplet: *-*-*
GCC host triplet: *-*-*
GCC target triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41596