> On May 1, 2020, at 21:57, suyash singh via cfe-users 
> <cfe-users@lists.llvm.org> wrote:
> 
> does clang support sparc backend?
>  
> I tried " clang -target sparc " to compile a simple c program on 
> ubuntu(x86_64), clang detects sparc as a valid target but does not work with 
> it. 
> 
> /usr/bin/as: unrecognized option '-Av8'
> clang-11: error: assembler command failed with exit code 1
> 
> How can I get clang to work with sparc?

I don’t have a toolchain with Sparc support to test this, but you could try the 
integrated assembler, `clang -integrated-as …`
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to