From dcd481360f5927e8ecbac0446aebae4b739769a5 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 20 May 2022 12:38:08 +0800 Subject: [PATCH] examples/README.md: Remove -nostartfiles and -nodefaultlibs follow nuttx change: commit b30e0a26efae828b3505059ffaa3a75df74236c0 Author: Xiang Xiao 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 Signed-off-by: Xiang Xiao --- examples/README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/README.md b/examples/README.md index 23a3967e6..e7bb5569a 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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