Forum Discussion
Balerion
Occasional Contributor
1 year agoUnable to use C++11 in Nios II
Hi, I have been recently facing a problem which is I couldn't compile my program using c++ libraries in a nios2 application project. My gnu's version is 5.3.0. Also, I did research about it and foun...
BoonBengT_Altera
Moderator
1 year agoHi @Balerion,
Noted on the intention to utilize some of the standard c libraries. By default the nios hal has included some of the standard library as part of the runtime env. (https://www.intel.com/content/www/us/en/docs/programmable/683282/current/c-standard-library-newlib.html)
Would suggest to use the more light weight version of those library as it would use less RAM, and below are some of the explanation of the limitation:
Note: there are also options available to create own custom/update the standard library . (https://www.intel.com/content/www/us/en/docs/programmable/683282/current/creating-a-custom-version-of-newlib.html)
Best Wishes
BB