Skip to content

Commit 8451bc2

Browse files
Don't use no-c++-exceptions version of libstdc++ (earlephilhower#280)
Per earlephilhower#276, earlephilhower#277, earlephilhower#274 there seems to be an issue with interrupts and some other low-level ARM operations when using the distributed libstdc++. Use the default libstdc++ built with the toolchain, instead. Fixes earlephilhower#277 Fixes earlephilhower#276 Fixes earlephilhower#274
1 parent 28fe90e commit 8451bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compiler.includes="-iprefix{runtime.platform.path}/" "@{runtime.platform.path}/l
4343
compiler.flags=-Os -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions
4444
compiler.wrap="@{runtime.platform.path}/lib/platform_wrap.txt"
4545
compiler.libpico="{runtime.platform.path}/lib/libpico.a"
46-
compiler.libstdcpp="{runtime.platform.path}/lib/libstdc++.a"
46+
compiler.libstdcpp="-lstdc++"
4747

4848
compiler.c.cmd=arm-none-eabi-gcc
4949
compiler.c.flags=-c {compiler.warning_flags} {compiler.defines} {compiler.flags} {compiler.includes} -std=gnu17 -g

0 commit comments

Comments
 (0)