Newlib
also builds a default BSP
libnosys.a
. This can be used with the
-lnosys
flag, and provides a convenient way of
testing that code will link correctly in the absence of a full BSP
The code can be found in the libnosys
sub-directory of the main libgloss
directory.
For completeness, the configuration template file,
configure.in
, in this directory should be updated
for any new target that is defining namespace clean versions of the
functions. Each such system is selected using a
case
statement. The new entry for the OpenRISC 1000 is as
follows.
or32-*-*) ;;
Having updated the configuration template, run autoconf to
regenerate the configure
script file.