From: Juraj Linkeš Date: Tue, 25 Jan 2022 13:20:00 +0000 (+0100) Subject: doc: add arm64 toolchain names update instructions X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6dad5e1ea7398dee6f102394e2cd099bd4d756e1;p=dpdk.git doc: add arm64 toolchain names update instructions The newer versions have an extra -none- in the name. Signed-off-by: Juraj Linkeš Acked-by: Ruifeng Wang --- diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst index f589b3b06f..d6dd6bb307 100644 --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst @@ -130,6 +130,13 @@ However, the compiler/linker flags may be added to cross files under [properties Cross Compiling DPDK with GNU toolchain using Meson ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. note:: + + The names of GCC binaries in cross files differ from the downloaded ones, + which have an extra ``-none-`` in their name. + Please modify the cross file binaries accordingly + when using the downloaded cross compilers. + To cross-compile DPDK on a desired target machine we can use the following command:: @@ -137,12 +144,13 @@ command:: ninja -C cross-build For example if the target machine is aarch64 we can use the following -command:: +command, provided the cross file has been modified accordingly:: meson aarch64-build-gcc --cross-file config/arm/arm64_armv8_linux_gcc ninja -C aarch64-build-gcc -If the target machine is aarch32 we can use the following command:: +If the target machine is aarch32 we can use the following command, +provided the cross file has been modified accordingly:: meson aarch32-build --cross-file config/arm/arm32_armv8_linux_gcc ninja -C aarch32-build