libg.a does not contain debugging information

Martin Walter martin.walter@gmail.com
Thu Aug 20 22:56:00 GMT 2009


Hello!

I have ported the newlib 1.17.0 to our architecture, but the libg.a
does not contain any debugging information and has exactly the same
size as libc.a. This is how I built the newlib:

export GCC_FOR_TARGET=spear32-gcc
export CFLAGS_FOR_TARGET="-Os --save-temps"
./configure --prefix=/opt/spear --target=spear32
make && make install

Is there anything wrong with that?

Cheers,
Martin



More information about the Newlib mailing list