--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Thanks. Indeed that fixes it.
>
> Right now, it means you need to explicitely add -lgcc to your link
> command line though. I'm not sure I understand why gcc doesn't do that
> by default on ARM though. I tried to find a way to enable that
> automatically, but didn't find it (though I admit didn't spend a lot
> of time on it).
I had a deeper look at our gcc cmdline, and we actually pass -nostdlib
(by accident) so that would explain the need for -lgcc. We also have -lc
explicitely so it worked before r7.
>
> If you use ndk-build, all of this is handled for you automatically, so
> you don't need to worry about this.
>
We use our own build system which is very flexible because we have
(historically) lots of targets, native and hosted. Adjusting our build
system was way less effort than wrapping our huge code base around
ndk-build. Anyway, after resolving this error in our cmdline we can
build Rockbox again.
Best regards.