Bare metal ARM GNAT compiler built
After a multitude of different builds and a few modifications to the GNAT runtime, I have finally managed to build GCC-4.6.1 C and GNAT compilers for bare metal.
The build utilises Newlib as the libc interface that GNAT's RTS builds upon, I've disabled sockets, files and a few other things we don't need. I've added:
- system-bare-armel.ads as the bare metal system package (this can be used for any platform with a few modifications),
- mlib-specific-bare.adb, to enable the building of static libs within the arm-none-eabi-* tools from project files. This has also been tested with my minimal runtime using gnat.gpr, which I was told by Arno Charlet that it wouldn't work.
This is really good progress and also gives me some insider knowledge of GNAT, which isn't pretty!
I think I will use this new information to also build a GNAT to target the chipKIT Uno32 which is based on a PIC32 (MIPS core).
