4 ms·
It's a ridiculous argument, first of all that $5 would deter anyone, secondly the clang/llvm binaries are available freely, which is the default compiler in Xco
by adsr 16y ago
It's a ridiculous argument, first of all that $5 would deter anyone, secondly the clang/llvm binaries are available freely, which is the default compiler in Xcode.
http://llvm.org/releases/download.html#2.8 http://llvm.org/releases/download.html#2.8
GCC is freely available in source form.
- telemachos 16y ago> GCC is freely available in source form. But of course, source code is useless to you if your computer has no compiler. I was pretty sure that at least part of Holman's argument was that Apple could easily do all of us a favor and just ship with gcc pre-built. ("All of us" meaning the devs who do all this for a living as well as the casual coders who might want to install a Ruby library with C extensions.) How would that possibly hurt Apple?
- adsr 16y agoThen compile it with llvm (if you absolutely must have GCC specifically), llvm is the new default compiler in Xcode. The link above has binaries both for clang and the GCC front end. Xcode 4 is still a pre-release, normally Xcode comes with the default OS X install disk. To make it available to non paying developers, it's been put on App store just one day ago. This is not a present problem, only a hypothetical future problem. That is another reason the argument is ridiculous. Apple do ship GCC pre-built, it's on the OS X install disk.
- nupark 16y agoThen compile it with llvm (if you absolutely must have GCC specifically), llvm is the new default compiler in Xcode. The link above has binaries both for clang and the GCC front end. GCC is still the default compiler; Clang is still immature.
- zppx 16y agoJust a correction. As far as I observed in my coworker Macbook gcc still is the default compiler in Xcode 4. Just compiled some software with it today, and it pops a lot of gcc's in ps aux.