Merge pull request #635 from bensuperpc/update_readme2

This commit is contained in:
Matt McCormick 2021-11-04 08:18:01 -04:00 committed by GitHub
commit 310496590c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,5 +1,8 @@
bin bin
dockcross dockcross
dockcross-*
build
build-*
*/test/ */test/
Dockerfile Dockerfile
web-wasm/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: For the impatient, here\'s how to compile a hello world for armv7:
```bash ```bash
cd ~/src/dockcross git clone https://github.com/dockcross/dockcross.git
cd dockcross
docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7 docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7
chmod +x ./dockcross-linux-armv7 chmod +x ./dockcross-linux-armv7
./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm' ./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm'