title: cc1: error: bad value (armv5) for -march= switch
body: <p>I am compiling u-boot for beagle bone black as per the steps mentioned on this link </p>
  
  <p><a href="http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader%3aU-Boot" rel="noreferrer">http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot</a></p>
  
  <p>and getting the following error. </p>
  
  <blockquote>
    <p>cc1: error: bad value (armv5) for -march= switch</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>thanks,
  sumit</p>