I want to perform debugging of a target virtual platform (qemu) whose architecture is aarch64, and follows aarch64-poky-linux toolchain.
I am attaching gdbserver on program running for qemu via local host TCP port 1234.
My host x86_64-linux-gnu gdb needs configuration of target as aarch64-poky-linux.
For this, some dependencies I'm getting: regarding aarch64-poky-linux-cc,gcc,c++,g++,etc.Please suggest how I can integrate this aarch64-poky-linux toolchain in my x86 Ubuntu 20.04 machine