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

Re: "arm-linux-gnueabi-gcc-4.4 -march=armv4t" silently produces "armv7"



 NB: cross-gcc will generate armv4t code as you instruct, but the
 problem occurs if you're using an Ubuntu libgcc which is built for
 armv7t2 and gets linked into your binary.  This should however trigger
 an error if you pass -march=armv7a during link, albeit I've had trouble
 getting this to work with u-boot recently (need to chase this bug).

 As Marcin wrote, best to use Debian-based cross-toolchain on Debian
 systems.

-- 
Loïc Minier


Reply to: