Once you know component list it is ± just a matter of creating bb or bbappend file for image with required packages listed in IMAGE_INSTALL. ![]() You should be able to find list of available arm64 packages grepping output of apt list | grep arm64Ĭan’t say I’m doing things right way, but yes, Yocto is the way to build target image with pppd and other required components. Then you should be able to install for example static link library for socketcan for your target arm64: lines specifying your host machine architecture likeĭeb focal main restrictedĪnd 2) clone the same deb lines with changed url to and specifying your target architecture, likeĬheck that apt update completes without issues: sudo apt update Sudo cp /etc/apt/sources.list /etc/apt/Īnd 1) edit all uncommented deb. ![]() Then # backup /etc/apt/sources.list first Sudo apt install binutils-aarch64-linux-gnuįrom now your Eclipse new Empty Project->Cross GCC project should be buildable when you specify in project settings C/C++ Build → Cross Settings → Prefix = aarch64-linux-gnu. Those dev libs may be installed via apt sudo apt install g++-aarch64-linux-gnu ![]() This way is nowhere recommended, but you may like it on Ubuntu to cross compile avoiding the need to build commonish -dev libraries from sources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |