[yocto] libstdc++fs on toolchain

Mikko.Rapeli at bmw.de Mikko.Rapeli at bmw.de
Thu Jan 24 07:35:13 PST 2019


On Thu, Jan 24, 2019 at 03:24:00PM +0000, João Gonçalves wrote:
> Hello,
> I'm trying to build a c++ cross toolchain to compile to imx6 (armv7). But I
> need libstdc++fs library, which does not come with it. Until gcc 8.0 this
> is an experimental library.
> 
> I've tested with gcc 7.3 and with gcc 8.2 and and none have the libstdc++fs
> library.
> On my host machine the library is at
> /usr/lib/gcc/x86_64-linux-gnu/7/libstdc++fs.a
> 
> Does anyone know how to include this library on a yocto generated toolchain?

At least on x86 targets, it's available from gcc-runtime recipe and
libstdc++-staticdev binary package on sumo/yocto 2.5 and later.

-Mikko


More information about the yocto mailing list