Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nope, clang can be used on BSD, Linux, and Windows as well.

http://clang.llvm.org/get_started.html



I'm aware of that, but do you get blocks?


Eg on Debian: apt-get install libblocksruntime0 libblocksruntime-dev

http://compiler-rt.llvm.org/


Indeed, I don't think you do:

  Blocks are supported for programs developed for Mac OS X
  10.6+ and iOS 4.0+,[1] although third-party runtimes
  allow use on Mac OS X 10.5 and iOS 2.2+.[2]
http://en.wikipedia.org/wiki/Blocks_(C_language_extension)


That page does mention Linux in one section: https://en.wikipedia.org/wiki/Blocks_%28C_language_extension...


That's really annoying; the headline claims one thing and the later text clearly contradicts.

Regardless, both of you appear to be correct:

  BlocksRuntime - a target-independent implementation of
  Apple "Blocks" runtime interfaces.
http://compiler-rt.llvm.org/


You do, I've used them on Linux myself.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: