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...")
 
Line 6: Line 6:
  
 
  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"

Revision as of 13:32, 1 October 2019

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"