LLVM & Clang can't compile for a supported arch

后端 未结 6 1175
花落未央
花落未央 2020-12-30 10:07

Under Ubuntu 64 bit I got

llc --version
LLVM (http://llvm.org/):
  LLVM version 3.1
  Optimized build with assertions.
  Built Oct 15 2012 (18:15:59).
  Defa         


        
6条回答
  •  被撕碎了的回忆
    2020-12-30 11:09

    You're confusing your flags. clang's -march= wants a processor family. You probably meant to use clang -arch arm instead.

提交回复
热议问题