Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

libstdc++ (STL) library port for uClinux for NIOS1

Altera_Forum
Honored Contributor II
1,544 Views

Hello fellows, 

 

I need to port some code for uClinux for NIOS1, which requests libstdc++ library (STL is the main part of this library). But I found, that libstdc++ is not the part of the uClinux distribution :-( So now I ask you, whether you tried to port this library from general opensource distribution - I suppose using port from www.stlport.org.  

 

I am also trying to make a port, but it is very complicating, since the the nios-elf-gcc has limited functionality and C libraries in the uClinux distribution does not have all the features like the normal linux C library. 

 

Thanks a lot, 

Jan
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
560 Views

AFAIK, libstdc++ is in test phase (judging by the number of posts on the uclibc mailinglist), and not fully supported. It's work in progress. 

 

I would assume the lack of "fork" is one of the major problems for processors without mmu. From some comments in the code of the compiler (IIRC), there is a NIOS processor in the works that has MMU; which would be much better than it is now... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif
0 Kudos
Reply