Problem with ARM port and pow() function

Fau Marz faumarz@libero.it
Mon Oct 22 13:16:00 GMT 2007


Alle 11:42, lunedì 22 ottobre 2007, Dave Korn ha scritto:

> Common behaviour when you compile with optimisation on, the compiler has
> rearranged the code slightly and the debugger is doing its best to show you
> which bit of code you're executing when.  It's much easier to debug if you
> recompile everything using "-O0" in your CFLAGS.

Ok, I undestand.
I compiled my little test program with -O0, but the newlib toolchain was 
compiled with -O2.

I will recompile it with -O0 and retry...

Do you have any idea for the math functions crash?


Thank you,

Fausto



More information about the Newlib mailing list