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 libstdc++/79862] Compilation error while building libstdc++


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

--- Comment #4 from Sumit <sbansal at ciena dot com> ---
(In reply to Andrew Pinski from comment #3)
>          --disable-hosted-libstdcxx \
> 
> That is more likely the cause.  non-hosted libstdc++ is not well tested.

Hi Andrew,

Thanks for the comments.

Actually, when we say "--disable-hosted-libstdcxx", we mean that we only want a
limited set of headers (same as the one in "freestanding" mode).
But as per the info below, "freestanding" mode supports typeinfo and exception
headers.


In "freestanding" mode only the following headers can be safely used:
•cstdarg
•cstddef
•cstdlib
•exception
•limits
•new
•exception
•typeinfo

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