[cfe-users] clang sparc backend
Matthew Fernandez via cfe-users
cfe-users at lists.llvm.org
Sat May 2 17:45:29 PDT 2020
> On May 1, 2020, at 21:57, suyash singh via cfe-users <cfe-users at 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 …`
More information about the cfe-users
mailing list