math functions
Posted: Sat Jul 18, 2015 5:23 am
Hi I need to use some math functions in my project but libm is not part of precompiled toolchain provided. So I compiled fresh toolchain from crosstool-NG available at github: https://github.com/jcmvbkbc/crosstool-NG I checked out branch lx106-g++. Toolchain compiled successfully. I can compile with libm now but... the linker reports error coz .text size has now increased > 0x8000
I would like to know how can I use math functions? Are they available for ESP or not?
Code: Select all
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.text' will not fit in region `iram1_0_seg'
I would like to know how can I use math functions? Are they available for ESP or not?