[llvm-dev] How to cross-compile for ARC in clang?

Tom Honermann via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 27 06:17:17 PDT 2018


On 9/27/2018 7:56 AM, Павел Безбородов via llvm-dev wrote:
Oh, that's what I was afraid of.
So there is definetly no way to compile for ARC?
If so, should I write ARC.h(.cpp) in lib/Basic/Targets in order to make it work?

I suggest you reach out to the contributors of the LLVM ARC backend (CCd) to ask about their plans to contribute target support for Clang.  I believe they have work in progress, but I don't know their plans for contributing it.

Tom.


чт, 27 сент. 2018 г. в 14:47, Tim Northover <t.p.northover at gmail.com<mailto:t.p.northover at gmail.com>>:
Hi,

On Thu, 27 Sep 2018 at 12:41, Павел Безбородов via llvm-dev
<llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
> clang -target arc -S test.cpp

I couldn't find any trace of ARC in the Clang source, so I suspect
it's only supported by LLVM at the moment.

Cheers.

Tim,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180927/5f3ace9a/attachment.html>


More information about the llvm-dev mailing list