Is there anything to read about building newlib with floating-point
support (particularly in snprintf()).
I did this:
./configure --target=arm-elf --prefix=/usr/local/arm-elf-float
and modified the resulting Makefile to include these lines:
CFLAGS_FOR_TARGET = -DFLOATING_POINT -g -O2
CXXFLAGS_FOR_TARGET = -DFLOATING_POINT -g -O2
Then I did "make install" and placed the results from arm-elf-float
into my existing arm-elf-gcc/newlib installation. After recompiling my
project, I'm still getting behavior that indicates there's no floating
point support (garbage printed for %f printf).
Did I miss a setting or do something wrong?
TIA,