# Installing gcc/g++ toolchain in yocto project

## The step-by-step <a href="#the-step-by-step" id="the-step-by-step"></a>

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
   ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adeshsingh.gitbook.io/programming/embedded-linux/embedded-linux-os/installing-gcc-g++-toolchain-in-yocto-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
