Page 1 of 1

How to compile newlib, libstdc++ as shared libraries for ARM

Posted: Mon May 13, 2013 8:49 am
by OSwhatever
Both newlib and libstdc++ ignore the "--enable-shared" flag as the target "arm-none-eabi" doesn't support shared libraries in the configuration script. In the case for a custom operating system and you want to add shared library support that makes it a little bit unfortunate. Have anyone successfully compiled newlib and libstdc++ so that it outputs .so shared libraries for ARM custom OS targets?

Re: How to compile newlib, libstdc++ as shared libraries for

Posted: Mon May 13, 2013 9:44 am
by sortie
You need to set up an OS-specific toolchain. If you got a working user-space, it's a time time to invest in setting up such a toolchain. You can then adapt it nicely for whatever needs you have.