Hi,
I am using lsdk20.04 for my development. The userland I selected is Ubuntu.
From the lsdk20.04 user guide, section 3.2 components I found following information:
Toolchain: gcc: Ubuntu/Linaro 7.3.0-16ubuntu3~18.04, glibc-2.27, binutils-2.30-0, gdb-8.1
I started my kernel with the ubuntu root file system(rootfs_lsdk2004_ubuntu_main_arm64.tgz). I checked the versions of following components:
Toolchain(ubuntu userland)
- gcc: Ubuntu/Linaro 7.5.0-3ubuntu1~18.04 (not 7.3.0)
- binutils: GNU Binutils for Ubuntu 2.30
- glibc: glibc-2.27
In Yocto sdk I can source an environment file
environment-setup-aarch64-fsl-linux
But If I want to do cross-compilation for ls1012ardb on my ubuntu 18.04 host machine. How could I set up the cross-compilation environment(set up the toolchain) for this case(ubuntu user land)?
Thank you!