In the "Global compiler settings" window, click on "Copy". The next steps depend on the previous section: here we assume the debugger is already configured.įrom the menu bar, click on "Settings" and then on "Compiler.". Set sysroot /opt/fslc-xwayland/3.1/sysroots/aarch64-fslc-linux Then, add the set sysroot command in the "Debugger initialization commands" section, to speedup the gdb startup. opt/fslc-xwayland/3.1/sysroots/x86_64-fslcsdk-linux/usr/bin/aarch64-fslc-linux/aarch64-fslc-linux-gdb Select the new configuration in the left pane, and fill in the "Executables path" field. In the "Create config" window, enter the new debugger's name and click on "OK". In the "Debugger settings" window, select "GDB/CDB debugger" and click on "Create Config". This section uses the default toolchain path, assuming you followed the default instruction in Variscite's Yocto Toolchain installation guide.Ĭhanges may be required if you installed the toolchain in a different path or used different distro settings.įrom the menu bar, click on "Settings" and then on "Debugger." To install the toolchain, follow Variscite's Yocto Toolchain installation guide. $ sudo apt-get -y install build-essential gdb gdb-multiarch gitĢ.2 Install Code::Blocks $ sudo apt install codeblocks codeblocks-contribĪ toolchain is necessary for cross compiling applications. Please follow the steps below to prepare a fresh Ubuntu 20.04 installation for Code::Blocks debugging:Ģ.1 Install Dependencies $ sudo apt-get -y update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |