How do I write and compile Objective-C code?

前端 未结 4 1944
忘了有多久
忘了有多久 2021-02-13 03:58

How do I write and compile Objective-C code in Linux?

I heard about Clang, but I couldn\'t find any example/tutorial about Clang/LLVM/Objective-C.

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-13 04:10

    You download and build LLVM as the compiler infrastructure; then you download and build the CLANG front-end to compile C/C++ and Objective C/C++.

    I guess you could try following this quick start guide. Mind that Clang could actually replace GCC when working with these languages.

提交回复
热议问题