Forum Discussion
Altera_Forum
Honored Contributor
21 years agoC++ Application
I was hoping someone out there is using Standard C++ on the Nios II. I can compile, link, and add to the filesystem the following code: # include <stdio.h> // hello_nios.cpp int main(int argc...
Altera_Forum
Honored Contributor
21 years agoThanks Nate and Robert,
<div class='quotetop'>QUOTE </div> --- Quote Start --- you have to re-build libstdc++ against uClibc yourself. It's not difficult. Also, some quick googling turned up another alternative as well: http://cxx.uclibc.org/ (http://cxx.uclibc.org/) which is a small libstdc++ replacement. (incomplete, but seems to be together enough for the basics, like streams) I'll actually probably end up building libstdc++ for nios-II soon myself, so I'll let you know if there's any caveats.[/b] --- Quote End --- I'm going to try this too. I'll post here with success or failure. Thanks again all, Ryan