1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-27 21:16:50 +03:00

tools/sdk: remove conflicting time.o from libmain.a

This commit is contained in:
Ivan Grokhotkov 2017-09-15 16:09:29 +08:00 committed by Ivan Grokhotkov
parent e68e3402fa
commit 3e9caf7a3d
2 changed files with 15 additions and 12 deletions

View File

@ -3,16 +3,18 @@
After updating SDK libraries to a new version, do the following changes. After updating SDK libraries to a new version, do the following changes.
1. Remove mem_manager.o from libmain.a to use custom heap implementation Remove mem_manager.o from libmain.a to use custom heap implementation, and time.o to fix redefinition of time-related functions:
```bash ```bash
xtensa-lx106-elf-ar -d libmain.a mem_manager.o xtensa-lx106-elf-ar -d libmain.a mem_manager.o
xtensa-lx106-elf-ar -d libmain.a time.o
``` ```
## Updating libstdc++ ## Updating libstdc++
After building gcc using crosstool-NG, get compiled libstdc++ and remove some objects: After building gcc using crosstool-NG, get compiled libstdc++ and remove some objects:
```bash
xtensa-lx106-elf-ar d libstdc++.a pure.o xtensa-lx106-elf-ar d libstdc++.a pure.o
xtensa-lx106-elf-ar d libstdc++.a vterminate.o xtensa-lx106-elf-ar d libstdc++.a vterminate.o
xtensa-lx106-elf-ar d libstdc++.a guard.o xtensa-lx106-elf-ar d libstdc++.a guard.o
@ -21,4 +23,5 @@ After building gcc using crosstool-NG, get compiled libstdc++ and remove some ob
xtensa-lx106-elf-ar d libstdc++.a del_opv.o xtensa-lx106-elf-ar d libstdc++.a del_opv.o
xtensa-lx106-elf-ar d libstdc++.a new_op.o xtensa-lx106-elf-ar d libstdc++.a new_op.o
xtensa-lx106-elf-ar d libstdc++.a new_opv.o xtensa-lx106-elf-ar d libstdc++.a new_opv.o
```

Binary file not shown.