Forum Discussion

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

Compiling libstdc++ against uClibc

Hi,

I'm using Microtronix uClinux on a NIOS2 board.

It looks like the version of libstdc++ that comes with the altera nios build tools is compiled against newlib instead of uClibc. This is preventing me from compiling any C++ code that uses the STL.

Any idea how I can recompile libstdc++ against uClibc?

Thanks

3 Replies

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

    Microtronix uClinuxis totally outdated and supposedly no help available any more anywhere.

    You need to upgrade to either the community supported distribution or use a commercial offer e.g. by MontaVista or TimeSys.

    see www.nioswiki.com

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

    Assuming I can't change the distribution I'm using, how would I go about this?