• Catching C++ Exceptions with GCC Arm None EABI

    Thomas Willson
    Thomas Willson

    I've been struggling to get exceptions to work properly on a Cortex-M4 project with the Arm's GCC distribution. The throw seems to work successfully but not the catch.

    class MyExc : public std::exception {
    	virtual const char* what() const noexcept…

    • Answered
    • 2 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • libsupc++_nano.a and C++ exceptions

    tgree
    tgree

    Hi,

    We'd like to add support for C++ exceptions (yes...) to our embedded firmware.  Up until now we've been linking against libsupc++_nano.a and it has worked great.  However, we've found that it does not work for throwing C++ exceptions.  The…

    • 3 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • View related content from anywhere
  • More
  • Cancel