Re: C++ support added to newt

2016-10-19 Thread Sterling Hughes
In the case of compiling with newlib, _exit was not being resolved from libc_stubs.c in the BSP. I believe this has to do with link stage, and adding -specs=nosys.specs does the right thing: but I have not tested this. In general, we should probably look to trim down libc_stubs.c. With

C++ support added to newt

2016-10-18 Thread Sterling Hughes
Hi, I’ve added C++ support to Newt in the “develop” branch. In order to use C++ with newt, the compiler definition files have a new entry which is: compiler.path.cpp: arm-none-eabi-g++ -x c++ And newt will search every package for files that end with *.cpp, *.cxx, and *.cc. I decided