Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bb8e11

Browse files
committed
Rebuild libstdc++ with mlongcalls and link against it (esp8266#1983)
1 parent a7ced9c commit 6bb8e11

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
3333
compiler.c.elf.flags=-g {compiler.warning_flags} -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy
3434

3535
compiler.c.elf.cmd=xtensa-lx106-elf-gcc
36-
compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh -lwpa2 {build.lwip_lib}
36+
compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh -lwpa2 {build.lwip_lib} -lstdc++
3737

3838
compiler.cpp.cmd=xtensa-lx106-elf-g++
3939
compiler.cpp.flags=-c {compiler.warning_flags} -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections

tools/sdk/lib/libstdc++.a

9.11 MB
Binary file not shown.

0 commit comments

Comments
 (0)