Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

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

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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