Using the C library with an application
Depending on how you use the C and C ++ libraries with your application, you may need to re-implement particular functions.
You can use the C and C ++ libraries with an application in the following ways:
Build a semihosting application that can be debugged in a semihosted environment such as with RVI.
Build a non-hosted application that, for example, can be embedded into ROM.
Build an application that does not use main() and does not initialize the library. This application has restricted library functionality, unless you re-implement some functions.