Map option for xtensa-lx106-elf-gcc
Posted: Sat Mar 28, 2015 4:46 am
I was having problem with code space:
So I tried to set the map option for the linker. It didn't like anything such as -Map=file so I tried -M
Any ideas please as I am still very much in a learning phase!
Code: Select all
mingw32-make.exe -f "C:/Documents and Settings/Administrator/My Documents/ESP8266/Boiler/Makefile" all
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Lc:/Espressif/ESP8266_SDK/lib -Tc:/Espressif/ESP8266_SDK/ld/eagle.app.v6.ld -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lat -lnet80211 -llwip -lwpa -lmain -lupgrade -lssl build/app_app.a -Wl,--end-group -o build/app.out
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: build/app.out section `.irom0.text' will not fit in region `irom0_0_seg'
So I tried to set the map option for the linker. It didn't like anything such as -Map=file so I tried -M
Code: Select all
mingw32-make.exe -f "C:/Documents and Settings/Administrator/My Documents/ESP8266/Boiler/Makefile" all
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Lc:/Espressif/ESP8266_SDK/lib -Tc:/Espressif/ESP8266_SDK/ld/eagle.app.v6.ld -M -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lat -lnet80211 -llwip -lwpa -lmain -lupgrade -lssl build/app_app.a -Wl,--end-group -o build/app.out
xtensa-lx106-elf-gcc: warning: build/app_app.a: linker input file unused because linking not done
Any ideas please as I am still very much in a learning phase!