amacc
amacc copied to clipboard
Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Struct/union assignments are not currently allowed, since they require moving mem blocks: ```c struct foo s1, s2; s1 = s2; // not allowed ``` That said, the AST tracks all...
A 'static' storage class could potentially be supported by internally creating a 'hidden' global variable having the name \_\. This could help prevent the use of global variables, at least...
id->class is 0 for passed parameters vs. class 'Par' or 'Loc'. There may be other inconsistencies for other storage types.
After the newer ast support. The *e can be change to local variable.
Since AMaCC was influenced by [c4](https://github.com/rswier/c4) design, it assumed 32-bit target. However, it is confusing while 64-bit targets are considered. There were preliminary patches for proposed portability changes: * [Making...
Would you like to add more error handling for return values from functions like the following? - [malloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [elf32](https://github.com/jserv/amacc/blob/6de68552cab3cf18771fe03a29f627518d4a5c42/amacc.c#L1082) - [printf](http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html "Print formatted output") ⇒ [next](https://github.com/jserv/amacc/blob/6de68552cab3cf18771fe03a29f627518d4a5c42/amacc.c#L98)
Improve README.md for arm tool chain installation and potential issue on QEMU_LD_PREFIX path
The pre-built GNU compiler toolchain for various Arm targets. Version 14.2.Rel1.