[llvm-dev] How to pass march flag to GCC Assembler arch64-linux-gnu-as

Sri via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 26 09:52:43 PDT 2015


I am trying to cross compile an assembly file using clang but with "
-fno-integrated-as" so that clang does not use its own assembler.

Clangs calls the command: /usr/bin/aarch64-linux-gnu-as -o Myfile.o
Myfile.s but it fails because of missing *-march=armv8-a+crypto *which is
required to build build my source file Myfile.s

I am passing "-march=armv8-a+crypto" to clang command but how do i promote
the same flag to assembler arch64-linux-gnu-as through clang?

-- 
*-*Sri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151026/7184208e/attachment.html>


More information about the llvm-dev mailing list