This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/41596] New: handling of library-related options by g++spec.c causes a failure when generating pch.


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


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