mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
Merge pull request #635 from bensuperpc/update_readme2
This commit is contained in:
commit
310496590c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,8 @@
|
|||||||
bin
|
bin
|
||||||
dockcross
|
dockcross
|
||||||
|
dockcross-*
|
||||||
|
build
|
||||||
|
build-*
|
||||||
*/test/
|
*/test/
|
||||||
Dockerfile
|
Dockerfile
|
||||||
web-wasm/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:
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user