mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Update build example in readme
Update build example in readme Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
ea4d106ed8
commit
4dcd7eeec1
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,8 @@
|
||||
bin
|
||||
dockcross
|
||||
dockcross-*
|
||||
build
|
||||
build-*
|
||||
*/test/
|
||||
Dockerfile
|
||||
web-wasm/Dockerfile
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user