d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/libdex/DexSwapVerify.c:38:0: warning: "__BYTE_ORDER" redefined [enabled by default]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Common.h:127:0: note: this is the location of the previous definition
in Common.h:
#define HAVE_LITTLE_ENDIAN
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/dalvik/vm/Common.h:126:0: warning: "__BYTE_ORDER" redefined [enabled by default]
d:/linux/linuxkernel/WORKING_DIRECTORY/android-omap-20111108-gingerbread/bionic/libc/include/sys/endian.h:265:0: note: this is the location of the previous definition
in endian.h:
//#define __BYTE_ORDER _BYTE_ORDER
# define __BYTE_ORDER __LITTLE_ENDIAN
*************************************************************************************
root@ubuntu:/host/src1/2/uClibc-0.9.33# make install
CC ldso/ldso/ldso.oScc1: error: unrecognized command line option "-mlittle-endian"
make: *** [ldso/ldso/ldso.oS] 错误 1
root@ubuntu:/host/src1/2/uClibc-0.9.33 # echo $CC
arm-linux-androideabi-gcc
root@ubuntu:/host/src1/2/uClibc-0.9.33# which cc1
/host/android-ndk-r7/mytoolchain/libexec/gcc/arm-linux-androideabi/4.4.3/cc1
root@ubuntu:/host/src1/2/uClibc-0.9.33# make CROSS_COMPILE=arm-linux-androideabi- install
make[1]: `lib/ld-uClibc.so' is up to date.
MKDIR /usr/arm-linux-uclibc/lib
install -m 755 ./lib/lib*-0.9.33.so \
/usr/arm-linux-uclibc/lib/
(cd ./lib && tar --exclude=ld-uClibc.so.lds -cf - *.so.*) \
| tar -xf - -C /usr/arm-linux-uclibc/lib/
HOSTCC extra/scripts/unifdef
MKDIR /usr/arm-linux-uclibc/usr/include
INSTALL include -> /usr/arm-linux-uclibc/usr/include
MKDIR /usr/arm-linux-uclibc/usr/lib
install -m 644 ./lib/crt1.o ./lib/Scrt1.o ./lib/crti.o ./lib/crtn.o /usr/arm-linux-uclibc/usr/lib//
install -m 644 ./lib/*.a /usr/arm-linux-uclibc/usr/lib//
for i in `cd ./ && find lib/ -type l -name 'lib[a-zA-Z]*.so' | \
sed -e 's/lib\///'` ; do \
ln -sf ../../lib/$i.0 \
/usr/arm-linux-uclibc/usr/lib//$i; \
done
if [ -f ./lib/libc.so -a -f /usr/arm-linux-uclibc/lib//libc.so.0 ] ; then \
rm -f /usr/arm-linux-uclibc/usr/lib//libc.so; \
sed -e 's:uclibc_nonshared.a:/usr/arm-linux-uclibc/usr/lib//uclibc_nonshared.a:' \
-e 's:libc.so.0:/usr/arm-linux-uclibc/lib//libc.so.0:' \
-e 's:ld-uClibc.so.0:/usr/arm-linux-uclibc/lib//ld-uClibc.so.0:' \
./lib/libc.so > /usr/arm-linux-uclibc/usr/lib//libc.so; \
sed -i -e 's://:/:g' /usr/arm-linux-uclibc/usr/lib//libc.so; \
fi
if [ -d ./lib ] ; then \
for i in `cd ./ && find lib/ -type f -name 'lib*.a' | sed -e 's/lib\///'` ; do \
ln -sf $i /usr/arm-linux-uclibc/usr/lib//`echo $i \
| sed -e 's/\.a$/_pic.a/'`; \
done ; \
fi
root@ubuntu:/host/src1/2/uClibc-0.9.33#