[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't cross-compile u-boot with gcc-3.4-slind



Hello!

   I use ubuntu breezy and install gcc-3.4-arm-linux-gnu
(3.4.4-5.slind1) .  When I use arm-linux-gnu-gcc-3.4 to cross compile
uboot , I failed in link stage and the error msg is :

arm-linux-gnu-ld: ERROR:
/usr/lib/gcc/arm-linux-gnu/3.4.5/libgcc.a(_divsi3.oS) uses hardware
FP, whereas u-boot uses software FP
arm-linux-gnu-ld: failed to merge target specific data of file
/usr/lib/gcc/arm-linux-gnu/3.4.5/libgcc.a(_divsi3.oS)
arm-linux-gnu-ld: ERROR:
/usr/lib/gcc/arm-linux-gnu/3.4.5/libgcc.a(_modsi3.oS) uses hardware
FP, whereas u-boot uses software FP
arm-linux-gnu-ld: failed to merge target specific data of file
/usr/lib/gcc/arm-linux-gnu/3.4.5/libgcc.a(_modsi3.oS)

   I search the faq in
http://www.arm.linux.org.uk/mailinglists/faq.php#f4 and found that I
need to recompile a soft-float enabled gcc-arm-3.4.

my problem is : how can I compile a gcc-3.4-arm(slind) with soft-float enabled ?

--
Regards
Falls Huang



Reply to: