[Desire Android Development] Droidzone:
Compiling glibc has become a headache. If you remember your glibc/configure and make options, do drop a line..

Found a nice article explaining everything like your OP

http://www.ailis.de/~k/archives/19-ARM-cross-compiling-howto.html

My current status:

Working toolchain is present (compiles kernels fine)

Need to compile full glibc for compiling more sophisticated apps..

droidzone@supernova:~/Downloads/glibc-2.14/glibc$ /home/droidzone/Downloads/glibc-2.14/configure --prefix=/home/droidzone/Downloads/glibc-2.14/glibc/headers

droidzone@supernova:~/Downloads/glibc-2.14/glibc$ make ARCH=arm CROSS_COMPILE="arm-bravo-"

glibc doesnt compile at all..

make[2]: Entering directory `/home/droidzone/Downloads/glibc-2.14/catgets'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/home/droidzone/Downloads/glibc-2.14/catgets'
make subdir=math -C math ..=../ subdir_lib
make[2]: Entering directory `/home/droidzone/Downloads/glibc-2.14/math'
make[2]: Leaving directory `/home/droidzone/Downloads/glibc-2.14/math'
make[2]: Entering directory `/home/droidzone/Downloads/glibc-2.14/math'
gcc ../sysdeps/i386/fpu/s_frexp.S -c -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/home/droidzone/Downloads/glibc-2.14/glibc/math -I/home/droidzone/Downloads/glibc-2.14/glibc -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DASSEMBLER -DGAS_SYNTAX -g -Wa,--noexecstack -Wa,-mtune=i686 -o /home/droidzone/Downloads/glibc-2.14/glibc/math/s_frexp.os -MD -MP -MF /home/droidzone/Downloads/glibc-2.14/glibc/math/s_frexp.os.dt -MT /home/droidzone/Downloads/glibc-2.14/glibc/math/s_frexp.os
../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: Missing symbol name in directive
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: Missing symbol name in directive
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `.'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: expected comma after name `' in .size directive
../sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" without ".if"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after expression
make[2]: *** [/home/droidzone/Downloads/glibc-2.14/glibc/math/s_frexp.os] Error 1
make[2]: Leaving directory `/home/droidzone/Downloads/glibc-2.14/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/home/droidzone/Downloads/glibc-2.14'
make: *** [all] Error 2
droidzone@supernova:~/Downloads/glibc-2.14/glibc$