float Div; 编译就会出错
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_addsubdf3.o) has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_addsubdf3.o)
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_fixunsdfsi.o) has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_fixunsdfsi.o)
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_addsubsf3.o) has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_addsubsf3.o)
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_muldivsf3.o) has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_muldivsf3.o)
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: error: Source object /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_fixsfsi.o) has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file /usr/local/arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_arm_fixsfsi.o)
make: *** [u-boot] 错误
改成如下无符号整形就没有错误就编译通过了
unsigned int Div;