From 6eb74113f91a73ad70e4fa1ab5e9febc3269143b Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Fri, 29 Sep 2017 11:17:41 +0100 Subject: COMPMID-417 - Fix documentation Missing include path from some build commands Change-Id: I28e87938f90d0507d8ce0814968c252955b49023 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89669 Reviewed-by: Anthony Barbier Reviewed-by: Georgios Pinitas Tested-by: Kaizen --- docs/00_introduction.dox | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/00_introduction.dox') diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox index 2b6ddfb045..8f038f6ddb 100644 --- a/docs/00_introduction.dox +++ b/docs/00_introduction.dox @@ -480,11 +480,11 @@ The examples get automatically built by scons as part of the build process of th To cross compile a NEON example for Linux 32bit: - arm-linux-gnueabihf-g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -std=c++11 -mfpu=neon -L. -larm_compute -o neon_convolution + arm-linux-gnueabihf-g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -mfpu=neon -L. -larm_compute -o neon_convolution To cross compile a NEON example for Linux 64bit: - aarch64-linux-gnu-g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -std=c++11 -L. -larm_compute -o neon_convolution + aarch64-linux-gnu-g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -L. -larm_compute -o neon_convolution (notice the only difference with the 32 bit command is that we don't need the -mfpu option and the compiler's name is different) @@ -500,11 +500,11 @@ To cross compile an OpenCL example for Linux 64bit: To compile natively (i.e directly on an ARM device) for NEON for Linux 32bit: - g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -std=c++11 -mfpu=neon -larm_compute -o neon_convolution + g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -mfpu=neon -larm_compute -o neon_convolution To compile natively (i.e directly on an ARM device) for NEON for Linux 64bit: - g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -std=c++11 -larm_compute -o neon_convolution + g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -larm_compute -o neon_convolution (notice the only difference with the 32 bit command is that we don't need the -mfpu option) -- cgit v1.2.1