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

Ravali Yatham <rayatha1 at in dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #3 from Ravali Yatham <rayatha1 at in dot ibm.com> ---
Apologies if there was a misunderstanding, My words might have been misleading.

Please read "we would like to link against older c/c++ runtime with GCC 11.2."
as "we would like to compile it with gcc 11.2 while linking against older c/c++
runtime".

I guess this is supported, as documented in "-std" flag?

On the comment "You cannot compile a newer code with libstdc++ headers and
thinking it will link with the older library." : no we don't intent to compile
newer code with older c++ runtime, our intent is to link it against old ones.

We don't have new code, ours is old code that used to compile with gcc 4.x.

Even if new code was used, isn't linking against new libs fully ignoring the
"-std" flag? Is there a caveat on the usage of the flag that suggests it may be
ignored/ overridden if the said target do not have required symbols it will be
picked up from available link targets?

thanks in advance!

Reply via email to