Ok, if you are trying to build something for one of these phones (or any cross-compiling for that matter) and you run across this error:

checking whether setvbuf arguments are reversed... configure: error: cannot run test program while cross compiling

You have to rebuild the configure script with autoconf 2.53b or later (this one was a pain). I ran into this building the latest bash. They used autoconf 2.53 to make the configure script and this bug is fixed in 2.53b. It's actually somewhat of an assumption however (since it can't call a cross-compiled executable to see if setvbuf arguments are reversed, it assumes they are not).

See also:
http://lists.nongnu.org/archive/html.../msg00123.html