Newlib provided syscalls on SH
imi415
imi415@imi.moe
Mon Aug 8 07:56:19 GMT 2022
Hi all,
I'm trying to build newlib for SuperH(sh) architecture, and the syscalls
under the "newlib/libc/sys/sh" directory
are built no matter whether "--disable-newlib-supplied-syscalls" is
provided.The target is a bare-metal target
so I need to provide these syscalls myself, same as other bare-metal
targets do.
I have checked the Makefile.am under the directory and there seems to be
no special treatments for the "MAY_SUPPLY_SYSCALLS" option.
Do I have to patch newlib for this or is there another way overriding
these syscalls?
P.S. The build environment is generated by Crosstool-NG.
Thanks & Best Regards,
Yilin Sun
More information about the Newlib
mailing list