[dpdk-dev] [PATCH] doc: add cross compile part for sample applications

Thomas Monjalon thomas at monjalon.net
Fri Sep 14 16:55:22 CEST 2018


14/08/2018 18:18, Gavin Hu:
> +For cross compiling the sample application(s), please append 'CC=$(CROSS_COMPILER)' to the 'make' command.

As you can see in doc/build-sdk-quick.txt, you should use CROSS=
for cross compilation.

> +For example:
> +        export CROSS_COMPILER=aarch64-linux-gnu-gcc
> +        make -C examples CC=$(CROSS_COMPILER)

It should be
	make -C examples CROSS=aarch64-linux-gnu-

Please would you like to make a patch v2 ?




More information about the dev mailing list