Adding a new architecture to newlib
requires the following steps.
Provide a machine specific directory within the
newlib
directory for architecture specific
code, notably the setjmp
implementation.
Provide a platform directory for BSP implementation(s) within
the libgloss
directory. The code implementing
systems calls for each BSP is placed in this directory.
Update the configure.host
file in the
newlib
directory to point to the machine and
platform directories for the new target.