mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
doc: Demostrate that the dockcross script should be exectuted from the source
dir
This commit is contained in:
parent
b6f09a22bf
commit
be7fbe3c0c
@ -133,6 +133,7 @@ Usage
|
|||||||
|
|
||||||
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::
|
||||||
|
|
||||||
|
cd ~/src/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