5.7.10.5 Nostdlib Option
The -nostdlib
option will prevent the standard system
startup files and libraries being linked into the project. No startup files and only the
libraries you specify are passed to the linker.
The compiler may generate calls to memcmp()
,
memset()
and memcpy()
. These entries are usually
resolved by entries in standard compiler libraries. These entry points should be supplied
through some other mechanism when this option is specified.