Newlib provided syscalls on SH
imi415 via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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