You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/05/22 15:12:32 UTC
[incubator-nuttx-apps] branch master updated (23584669c -> 1d216fde9)
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
from 23584669c pmconfig: add last state and modify current state to next state
new dcd481360 examples/README.md: Remove -nostartfiles and -nodefaultlibs
new 1d216fde9 import/Make.defs: Add -noincstd++
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
examples/README.md | 12 ++++--------
import/Make.defs | 2 +-
2 files changed, 5 insertions(+), 9 deletions(-)
[incubator-nuttx-apps] 02/02: import/Make.defs: Add -noincstd++
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 1d216fde998388102101775dc244b5cb211cdec1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri May 20 12:40:51 2022 +0800
import/Make.defs: Add -noincstd++
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
import/Make.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/import/Make.defs b/import/Make.defs
index e5b0ed16f..ae055a93b 100644
--- a/import/Make.defs
+++ b/import/Make.defs
@@ -33,7 +33,7 @@ ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include}
ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELIM)cxx}
ARCHCFLAGS += -fno-common -pipe
-ARCHCXXFLAGS += -fno-common -pipe
+ARCHCXXFLAGS += -fno-common -nostdinc++ -pipe
CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS)
[incubator-nuttx-apps] 01/02: examples/README.md: Remove -nostartfiles and -nodefaultlibs
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit dcd481360f5927e8ecbac0446aebae4b739769a5
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri May 20 12:38:08 2022 +0800
examples/README.md: Remove -nostartfiles and -nodefaultlibs
follow nuttx change:
commit b30e0a26efae828b3505059ffaa3a75df74236c0
Author: Xiang Xiao <xi...@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 <xi...@xiaomi.com>
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
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