Forum Discussion
Altera_Forum
Honored Contributor
20 years agoCompile C++ for NIOS2 in Linux
I would like to compile C++ for Nios2 under Linux. I found gcc-nios2 and binutils-nios2 but it doesn't look like it handles C++ only C. Does anyone know if there a GNU version of somet...
Altera_Forum
Honored Contributor
20 years agoCompiling .cpp files with nios2-elf-gcc works on my linux machine. There's a nios2-elf-c++ in the directory so I assume that's the C++ compiler portion of the GNU tools. Maybe it's something with your environment? I'm using a standard NIOS 5.1 Linux installation on Debian. The command line C++ compiler works in both the standard bash shell or in the sdk_shell
Andrew