This is the mail archive of the
mailing list for the newlib project.
Re: Arm toolchain with gcc / newlib / VFP / hard float - can it be done?
On 26/02/13 10:24, Freddie Chopin wrote:
W dniu 2013-02-26 10:57, Joe Button pisze:
That's why I suggested taking a look at the linaro toolchain, as in it
newlib is built so that newlib takes multilib into account. What does
your gcc say when you do:
So this look a bit short... In here I got sth like:
The lines you have are for "default arch", which - as I said - (from
what I know) is ARMv4 (ARM7TDMI etc.), for your chip I guess you
should have sth like (just a guess):
And your GCC can generate code for ARMv5 (it would probably happily
generate code for Cortex-A15 too (; ), it just doesn't have libraries
for it, so you cannot use anything that comes from library (like
sqrt(), printf(), malloc(), ...).
Hi. I feel like I should report back that I eventually got rid of the
vfp abi errors, not by patching gcc or anything complicated but by
setting my LIB path correctly. Vive l'incompetence.