https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70519

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu.org

--- Comment #11 from Jim Wilson <wilson at gcc dot gnu.org> ---
The -lstdc++ is added by lang_specific_driver in g++spec.c.  g++spec.o is
linked into xg++.  In the function lang_specific_driver, library is set to 1 if
the input file is not a header file, and then near the bottom a generate_option
call adds the -lstdc++ to the command line options.  You should debug
lang_specific_driver to see why it isn't working.

Reply via email to