cuiziweizw opened a new pull request, #18028:
URL: https://github.com/apache/nuttx/pull/18028

   ## Summary
   
   This PR adds support for building libsupc++ (the C++ runtime support library 
from GCC's libstdc++-v3) as an alternative to libcxxabi.
   
   ## Changes
   
   - Add `libsupc++.defs` for libsupc++ build integration
   - Add threading support headers (`gthr.h`, `gthr-default.h`)
   - Add unwind support header for exception handling (`unwind-pe.h`)
   - Update `libs/libxx/Makefile` to include libsupc++ support
   
   ## What is libsupc++?
   
   libsupc++ is the C++ runtime support library that provides:
   - Exception handling (eh_*.cc)
   - RTTI (Run-Time Type Information)
   - Memory allocation operators (new/delete)
   - Type info support
   
   This allows users to use GCC's libstdc++ runtime support instead of LLVM's 
libcxxabi when building C++ applications on NuttX.
   
   ## Testing
   
   Build tested with `CONFIG_LIBSUPCXX=y` enabled.
   
   ## Impact
   
   No impact on existing configurations. This is an optional feature that users 
can enable via Kconfig (`CONFIG_LIBSUPCXX`).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to