examples/README.md: Remove -nostartfiles and -nodefaultlibs

follow nuttx change:
commit b30e0a26efae828b3505059ffaa3a75df74236c0
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date:   Sun May 15 12:32:04 2022 +0800

    Move "-nostartfiles -nodefaultlibs" from Make.defs to Toolchian.defs

    and replace "-nostartfiles -nodefaultlibs" with "-nostdlib"

    Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-05-20 12:38:08 +08:00 committed by Petro Karashchenko
parent 23584669c5
commit dcd481360f

View File

@ -317,8 +317,7 @@ options:
LDELFFLAGS = -r -e main
```
If you use GCC to link, you make also need to include `-nostdlib` or
`-nostartfiles` and `-nodefaultlibs`.
If you use GCC to link, you make also need to include `-nostdlib`.
3. This example also requires `genromfs`. `genromfs` can be build as part of the
nuttx toolchain. Or can built from the `genromfs` sources that can be found
@ -733,8 +732,7 @@ configuration options:
LDMODULEFLAGS = -r -e module_initialize
```
If you use GCC to link, you make also need to include `-nostdlib` or
`-nostartfiles` and `-nodefaultlibs`.
If you use GCC to link, you make also need to include `-nostdlib`.
3. This example also requires `genromfs`. `genromfs` can be build as part of the
nuttx toolchain. Or can built from the `genromfs` sources that can be found
@ -1275,8 +1273,7 @@ Test-specific configuration options:
LDELFFLAGS = -r -e main
```
If you use GCC to link, you make also need to include `-nostdlib` or
`-nostartfiles` and `-nodefaultlibs`.
If you use GCC to link, you make also need to include `-nostdlib`.
3. This example also requires `genromfs`. `genromfs` can be build as part of the
nuttx toolchain. Or can built from the `genromfs` sources that can be found
@ -1547,8 +1544,7 @@ system. At run time, the shared library is installed and exercised. Requires
LDMODULEFLAGS = -r -e module_initialize
```
If you use GCC to link, you make also need to include `-nostdlib` or
`-nostartfiles` and `-nodefaultlibs`.
If you use GCC to link, you make also need to include `-nostdlib`.
3. This example also requires `genromfs`. `genromfs` can be build as part of the
nuttx toolchain. Or can built from the `genromfs` sources that can be found