From 62725abe9594aceb982a12620b86e5eb0bb4e706 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Sat, 22 Feb 2020 14:53:53 +0800 Subject: [PATCH] Update README.md --- samples/simple/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/samples/simple/README.md b/samples/simple/README.md index f7c9bad3..5625212f 100644 --- a/samples/simple/README.md +++ b/samples/simple/README.md @@ -95,17 +95,19 @@ host-interp Enter the profile name for starting your build. "host-***" profiles build the sample for executing on your development machine, and "arm-interp" profile will do cross building for ARM target platform. If "arm-interp" is entered, please ensure the ARM cross compiler toolchain is already installed in your development machine. Your should set *ARM_A7_COMPILER_DIR* and *ARM_A7_SDKTARGETSYSROOT* environment variable in your ~/.bashrc correctly. refer to the file [profiles/arm-interp/toolchain.cmake](./profiles/arm-interp/toolchain.cmake). ``` +~/.bashrc: export ARM_A7_COMPILER_DIR="/home/beihai/cross-toolchains/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin" export ARM_A7_SDKTARGETSYSROOT="/home/beihai/cross-toolchains/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/libc" +notes: please set the value to the actual path of your cross toolchain. ``` If you need to create additional profile for customizing your runtime, application framework or the target platforms, a new subfolder can be created under the *profiles* folder, and place your own version of "toolchain.cmake" and "wamr_config_simple.cmake" in it. ``` -~/wamr/samples/simple/profiles$ ls +$wamr-root/samples/simple/profiles$ ls arm-interp host-aot host-interp -~/wamr/samples/simple/profiles$ ls arm-interp/ +$wamr-root/samples/simple/profiles$ ls arm-interp/ toolchain.cmake wamr_config_simple.cmake ```