- Tue Apr 21, 2015 4:06 pm
#15231
I did go and pull crosstool-ng (
https://github.com/jcmvbkbc/crosstool-NG) lx106-g++ branch, and did the compile and came up with a corrected libm.a, thanks!
Something else I did to the library, for my own purposes:
objcopy --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal libm.a
This allows me to use every math function in my app, without overflowing the iram segment. YAY!
People say its slower, that may be, but I can get, for example, over 10,000 sin() calculations per second, which is well fast enough for what I'm working on.
/Kevin