Hacker News new | ask | show | jobs
by heresy 5239 days ago
It installs a "gcc" command-line wrapper which actually calls the LLVM compiler.
2 comments

Hmm, it looks like it's actually a gcc frontend that uses LLVM as its backend - more than just a command-line wrapper. But I hadn't realized that it wasn't standard gcc.
Heh, I've been using the gcc command on my mac since I switched and I, quite literally, have never come across a program that wouldn't compile for me. That level of compatibility is... well... staggering. heh.
Same here, hence why I assumed it was standard gcc. In fact, I just did "sudo port install python27 py27matplotlib" which pulled in a lot of code and there were zero problems.
You do know that MacPorts installs plain gcc as a dependency for many packages?
This shouldn't be too surprising; it _is_ GCC, but using an LLVM backend (it's not clang).
It also installs "gcc-4.2", which is actually the gcc-4.2 driver.