Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [clang]

The tag has no usage guidance.

8
votes
2answers
5k views

How can I cross-compile to the Raspberry Pi using Clang/LLVM?

I would like to cross-compile C-family languages (C, C++, Objective-C, and Objective-C++) to the Raspberry Pi using Clang and LLVM on a build computer of a different architecture. How may I do this?
7
votes
1answer
1k views

Objective C enviroment

Do any of the standard distributions come with an Objective C environment? Is there anywhere to get prebuilt Objective-C compiler and libraries? I would prefer an answer which is based on Clang/LLVM ...
4
votes
2answers
2k views

Compiling Objective C with Clang

I have installed clang on my Raspberry Pi. How can I compile a .m file (Objective C) through the terminal? Let's say I called it bob.m and I want the output file to be called bob and I'm already in ...
2
votes
1answer
242 views

How do I get Swift working on my Pi 3b

I am a longtime iOS OS X developer who's switched most of his work to Swift. Now that Swift is open source, it has been offered for non-Apple ARM devices like the Pi. Based on my reading, it looks ...