diff --git a/README.md b/README.md index 6b7909f..f5361d1 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,16 @@ Raspberry Pi 2/3/4 with GNU/Linux. is necessary to have Arm/Linux installed in your build environment. * Install [GNU Toolchain for the A-profile Architecture](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads) - Select `arm-linux-none-gnueabihf` (AArch32 target with hard float) +```shell +$ sudo apt-get install gcc-arm-linux-gnueabihf + +# set QEMU_LD_PREFIX path +$ export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf +``` * Install QEMU for Arm user emulation ```shell -sudo apt-get install qemu-user +$ sudo apt-get install qemu-user ``` ## Running AMaCC @@ -80,6 +86,7 @@ OK Check the messages generated by `make help` to learn more. + ## Benchmark AMaCC is able to generate machine code really fast and provides 70% of the performance of `gcc -O0`. @@ -105,4 +112,4 @@ AMaCC is based on the infrastructure of [c4](https://github.com/rswier/c4). ## Related Materials * [Curated list of awesome resources on Compilers, Interpreters and Runtimes](http://aalhour.com/awesome-compilers/) * [Hacker News discussions](https://news.ycombinator.com/item?id=11411124) -* [A Compiler Writing Journey](https://github.com/DoctorWkt/acwj) by Warren Toomey. +* [A Compiler Writing Journey](https://github.com/DoctorWkt/acwj) by Warren Toomey. \ No newline at end of file