Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSome basic c++ exception tests for rtems rt os also fail using 11.0sp1 nios eds. Apprarently gcc uses either setjmp/longjmp or DWARF based mechanisms to unwind the stack, but I haven't yet determined which of these is used for nios2. We are building the nios2 cross compiler configuring for multi-threaded execution but I am starting to suspect that using the current state of the nios2 gcc 4 compiler with threads is sketchy as the Altera built compiler is configured for single-threaded use. We need C++ so we can port community software to the nios2.