Using dnf, you will be able to install the tools required to build(compile) applications on the target directly.

Installing Core SDK using dnf


The package-group we are interested is "packagegroup-self-hosted-sdk" . This package-group provides some commonly used utilities like Make, GCC, G++, etc. In this section we will be installing the package-group and then compile, and test out few demo applications

GCC/G++ installation

We need to install packagegroup-self-hosted-sdk to be able to compile on target. Sync the repo to get updated list of packages and then install.
dnf repoquery
dnf install packagegroup-self-hosted-sdk
dnf_query.png

GCC/G++ testing

Once, SDK is installed, you should be able to use GCC/G++ compiler and build your programs on the target directly.
To test this, there are 2 sample programs attached below. Go ahead and download those onto your target. You can compile and build them as shown below.

hello_world.png
Insert Code: Use Widget-> Insert Code
Insert your code here.

Related Links

  • Title 1 & Link 1
  • Title 1 & Link 1