2.2. Set up DEY compilers
1. Configure DEY Qt Compiler
Follow these steps to configure the Digi Embedded Yocto Qt compiler:
- Click Tools > Options.
- Select Build & Run from the list at the left.
- In the right pane, select the Qt Versions tab
- Click Add to add a new Qt compiler.
- Navigate through your file system and select the qmake binary installed within your platform toolchain, usually located at:
<toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/qt5/qmake
- Click Apply to save the new Qt compiler.
Note If you receive a warning message stating that there was already a configured binary for the same Qt version, ignore it and close the popup.
2. Configure DEY C Compiler
Follow these steps to configure the Digi Embedded Yocto C compiler:
- Click Tools > Options.
- Select Build & Run from the list at the left.
- In the right pane, select the Compilers tab
- Click Add and select GCC > C from the drop-down menu to add a new C native compiler.
- Enter a name to identify the new C compiler, for example <PLATFORM>_DEY_GCC.
- Click Browse to fill the C compiler path. A file system explorer dialog opens.
- Navigate through your file system and select the arm-dey-linux-gnueabi-gcc binary installed within your platform toolchain, usually located at:
<toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/arm-dey-linux-gnueabi/arm-dey-linux-gnueabi-gcc
-
Select arm-linux-generic-elf-32bit from the ABI drop-down.
- Click Apply to save the new C compiler.
3. Configure DEY C++ compiler
Follow these steps to configure the Digi Embedded Yocto C++ compiler:
- Click Tools > Options.
- Select Build & Run from the list at the left.
- In the right pane, select the Compilers tab
- Click Add and select GCC > C++ from the drop-down menu to add a new C++ native compiler.
- Enter a name to identify the new C++ compiler, for example <PLATFORM>_DEY_G++.
- Click Browse to fill the C++ compiler path. A file system explorer dialog opens.
- Navigate through your file system and select the arm-dey-linux-gnueabi-g++ binary installed within your platform toolchain, usually located at:
<toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/arm-dey-linux-gnueabi/arm-dey-linux-gnueabi-g++
- Select arm-linux-generic-elf-32bit from the ABI drop-down.
- Click Apply to save the new C++ compiler.