本文转载自:https://stackoverflow.com/questions/23871924/cc1-error-bad-value-armv5-for-march-switch
I am compiling u-boot for beagle bone black as per the steps mentioned on this link http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot and getting the following error.
can anyone help me in finding the reason for this error? I guess this is because of gcc not supporting armv7-a still not sure. thanks, sumit |
||||
add a comment
|
If you type the exact command shown on eewiki.net page, there would be a problem if you do not have env var CC set. I prefer the following, it assumes you have reasonably current install of arm-linux-gnueabi-gcc as your cross toolchain (adjust if you have something different)
|