[cfe-users] clang sparc backend

suyash singh via cfe-users cfe-users at lists.llvm.org
Fri May 1 21:57:03 PDT 2020

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20200502/08feee73/attachment.html>

More information about the cfe-users mailing list