Commit c94294a7 authored by Konstantin Lübeck's avatar Konstantin Lübeck

Fixed spelling mistakes and added a paragraph on installing arm-linux-gnueabihf-gcc.

parent ded915a2
......@@ -13,6 +13,7 @@ git clone git://
Get the `pixman` and `dtc` submodules:
cd qemu
git submodule update --init pixman dtc
......@@ -78,11 +79,21 @@ You can retrieve files from this directory on the guest with the following comma
tftp -r <HOST_FILE> -g
unfortunately the server is read only.
Unfortunately the server is read only.
## Compile for Petalinux
You can find a Hello World C program in [src](./src) and a Makefile to compile it for Petalinux. Compile it with:
To compile a C program on your host you need the `arm-linux-gnueabihf-gcc` compiler either you have a recent version of Xilinx Vivado SDx which provides this compiler or you have to install it manually for your host:
* Ubuntu
sudo apt-get install gcc-4.8-arm-linux-gnueabihf
* CentOS
You can find a [Hello World C program](./src/helloworld.c) in [src](./src) and a [Makefile](./src/Makefile) to compile it for Petalinux. Compile it with:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment