doc: Demostrate that the dockcross script should be exectuted from the source

dir
This commit is contained in:
Matt McCormick 2016-07-16 01:19:53 -04:00
parent b6f09a22bf
commit be7fbe3c0c

View File

@ -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'