Difference between revisions of "How to add libstdc++ to a Yocto (Poky) image"

From KoanSoftware Wiki
Jump to: navigation, search
(Created page with "== How to add libstdc++ to a Yocto (Poky) image == The C++ standard library is not included in the default Yocto Project and Openembedded images. * If you need it, add in th...")
 
(new syntax)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
* If you need it, add in the local.conf or into the image file the following line
 
* If you need it, add in the local.conf or into the image file the following line
  
  IMAGE_INSTALL_append = " libstdc++"
+
  IMAGE_INSTALL:append = " libstdc++"
 +
 
 +
 
 +
== How to add libstdc++ to the Yocto SDK ==
 +
 
 +
The C++ standard library is not included in the default Yocto Project SDK.
 +
 
 +
* If you need it, add in the local.conf or into the image file the following line
 +
 
 +
TOOLCHAIN_TARGET_TASK:append = " libstdc++-staticdev"

Latest revision as of 11:16, 28 November 2023

How to add libstdc++ to a Yocto (Poky) image

The C++ standard library is not included in the default Yocto Project and Openembedded images.

  • If you need it, add in the local.conf or into the image file the following line
IMAGE_INSTALL:append = " libstdc++"


How to add libstdc++ to the Yocto SDK

The C++ standard library is not included in the default Yocto Project SDK.

  • If you need it, add in the local.conf or into the image file the following line
TOOLCHAIN_TARGET_TASK:append = " libstdc++-staticdev"