Forum Discussion

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

I want to port Live Media but no C++ support.

There is a small build RTSP server in www.live555.com.

But the code is written in C++, and NOW there is no free C++ compiler for nios 2 with uclinux.

I tried g++ in NIOS IDE 5.0 with Microtronix uclinux and uclibc, then convert it using elf2flt, but there is no response on board when running it.

Hippo said g++ in NIOS IDE is using stdlibc++ which is not supported by uclinux. And format convertion is more complex then using just a command elf2ft.

Is there anybody who has idea about this.

thx a lot.

1 Reply

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

    Spaceli

    I am trying to do the same. I have a code in c++ and I want to use it in uClinux on NIOS II. I have searched several pages and haven't found any suggestion of how to do that. By now, I am studing a new approach: Converting C++ to C, but I am starting to think it is not possible too, once the compilers I've found generate the code to a target architecture.

    If you come to solve this issue, please, let me know.

    Alair