Installing gcc/g++ toolchain in yocto project

The step-by-step

  1. Change the build/conf/local.conf by adding the following lines

  2. #add the feature :-> tools-sdk
    EXTRA_IMAGE_FEATURES += "debug-tweaks tools-sdk"
  3. Choose an image, for example, core-image-minimal

    $compile your source code ..
    $ time bitbake core-image-minimal

Last updated