Skip to content

Commit ab0b205

Browse files
committed
picolibc: Disable exceptions for picolibc libstdc++
Picolibc is targeted for smaller embedded systems. It brings improvement over newlib-nano in case of pure C applications. However when used with C++ applications all gains from smaller size of libc are wasted by exception handling support in libstdc++. This change disables exception support in picolibc libstdc++. It results in decreased flash usage - ~9.5kB for ARM target. Signed-off-by: Adrian Gielniewski <[email protected]>
1 parent b3410d0 commit ab0b205

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "crosstool-ng"]
22
path = crosstool-ng
3-
url = https://github.com/zephyrproject-rtos/crosstool-ng.git
3+
url = https://github.com/adigie/crosstool-ng.git
44
[submodule "binutils"]
55
path = binutils
66
url = https://github.com/zephyrproject-rtos/binutils-gdb.git

0 commit comments

Comments
 (0)