Update build example in readme

Update build example in readme

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2021-11-03 20:54:39 +01:00
parent ea4d106ed8
commit 4dcd7eeec1
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,5 +1,8 @@
bin
dockcross
dockcross-*
build
build-*
*/test/
Dockerfile
web-wasm/Dockerfile

View File

@ -56,7 +56,8 @@ Only 64-bit x86_64 images are provided, a 64-bit x86_64 host system is required.
For the impatient, here\'s how to compile a hello world for armv7:
```bash
cd ~/src/dockcross
git clone https://github.com/dockcross/dockcross.git
cd dockcross
docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7
chmod +x ./dockcross-linux-armv7
./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm'