Skip to contentSkip to conversation

howto build libstdc++ while using newlib

DISCUSSION 张忠山 2 participants 3 messages Jul 10, 2019

lore
Share & tools
lore

张忠山

author
#0 lore raw

when the toolchain generated using newlib, there are no libstdc++ in it.
So, Can't build other librarys build with cmake, because of error testing cxx tool in do_configure

How Can add libstdc++ ?

Signature · 2 lines
Best Regards,
zzs
author
#1 lore raw

On 2019/7/10 下午4:10, 张忠山 Wrote:

Quoted 5 lines

when the toolchain generated using newlib, there are no libstdc++ in it.
So, Can't build other librarys build with cmake, because of error testing cxx tool in do_configure

How Can add libstdc++ ?

Now I known it need libstdc++-arm-none-eabi-newlib

Is there a recipe .bb in poky? If there is How add it to the toolchain which built by bitbake

Signature · 2 lines
Best Regards,
zzs
#2 lore raw

Hello zzs,

Yup, you are right, the current newlib toolchain does not contain libstdc++ , I have been working on it, and will send patches to support that hopefully this week.

Cheers,

Alejandro

Quoted 10 lines · 张忠山

On 2019/7/10 下午4:10, 张忠山 Wrote:

Quoted 5 lines

when the toolchain generated using newlib, there are no libstdc++ in it.
So, Can't build other librarys build with cmake, because of error testing cxx tool in do_configure

How Can add libstdc++ ?

Now I known it need libstdc++-arm-none-eabi-newlib

Is there a recipe .bb in poky? If there is How add it to the toolchain which built by bitbake