From 6884051e16f060ce0f7380e2c463746deef2a434 Mon Sep 17 00:00:00 2001 From: acosail Date: Thu, 24 Aug 2023 21:26:16 +0800 Subject: [PATCH] change instruction to ver 1.2 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7643955..553460b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ And testing the program inside the Docker without a real ARM64 hardware. # How to build Docker ~~~bash -sudo docker build -t acosail_v2_cross:1.0 . +sudo docker build -t acosail_v2_cross:1.2 . ~~~ # How to RUN this docker for crossbuild @@ -14,7 +14,7 @@ Of cause you need have some crossbuild experience before you using this tool. You can learn crossbuild on google/github and maybe CSDN. ~~~bash export PROJECT_DIR -sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/app acosail_v2_cross:1.0 +sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/app acosail_v2_cross:1.2 # Do what ever you want to build an arm64 C/C++ cli program; # Don't forget to make sure your have set FLAGS -isysroot=/rootfs; ~~~ @@ -31,7 +31,7 @@ apt update # How to RUN this docker for QEMU arm64 native & VERY SLOW build ~~~bash export PROJECT_DIR -sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/rootfs/app acosail_v2_cross:1.0 +sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/rootfs/app acosail_v2_cross:1.2 #Inside docker chroot /rootfs/app # Do what you want to build a native arm64 program; @@ -42,7 +42,7 @@ chroot /rootfs/app We suppose you have build your progarms already. ~~~bash export PROJECT_DIR -sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/rootfs/app acosail_v2_cross:1.0 +sudo docker run -it --rm --privileged -v ${PROJECT_DIR}:/rootfs/app acosail_v2_cross:1.2 #Insdile docker chroot /rootfs/app # Do anything you like to run a native program