/
Self hosting using smart
Self hosting using smart
smart has been deprecated from 2018.1, and dnf is the new package manager
Using Smart, you will be able to install the tools required to build(compile) applications on the target directly.
Table of Contents
Installing core-SDK using Smart
The package-group we are interested is "packagegroup-core-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-core-sdk to be able to compile on target. To install run the below command.- smart install packagegroup-core-sdk
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.
To compile use:
GCC/G++ commands for compiling examples. |
Run the generated executable and verify the output:
Expected results |
Attachments
Related Links
Related content
Self hosting using dnf
Self hosting using dnf
More like this
Install and run applications through Smart on target
Install and run applications through Smart on target
More like this
Building Linux Images Using Yocto
Building Linux Images Using Yocto
More like this
Zynq Qt and Qwt Base Libraries-Build Instructions
Zynq Qt and Qwt Base Libraries-Build Instructions
More like this
Getting started with Yocto Xilinx layer
Getting started with Yocto Xilinx layer
More like this
Install and run applications through DNF on target
Install and run applications through DNF on target
More like this
© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy