[Newlib for NintendoDS] Windows/Linux : GCC 4.9.3 ARM-EABI + Newlib 2.1 ARM, for Nintendo DS.
Features:
- GAS (Gnu Assembler): .s / .S ARM assembler files, using the GNU syntax.
- GCC: C support (malloc, full POSIX file implementation): .c files, using the GNU syntax.
- GCC: C++ STL support (new / delete operators implemented): .cpp/.hpp files, using the GNU syntax.
- Recompile Newlib for Nintendo DS (this guide, keep reading)
- Recompile ToolchainGenericDS (optional, not on this guide)
- Recompile project (optional, not on this guide)
Steps:
[Windows] Set up the IDE at: https://github.com/cotodevel/toolchaingenericds-ide then proceed to [Done].
[Linux]
- 1.a)Building Newlib for NintendoDS:
- make clean
- make
Notes: - Sometimes the packages will fail to download. Make sure all packages required are installed (when you type make), otherwise newlib-nds won't compile. Expected output is a lot of code compiled, then shell is idle.
[Done] If you followed all steps up to this point, newlib for NintendoDS was built correctly. ToolchainGenericDS needs to be built now: https://github.com/cotodevel/toolchaingenericds
Coto