News for hackers. Stuff that matters.
Re:Xcode, GCC, and Homebrew by pavlov on Thursday February 16, 2012 @05:21PM (#3600980)
Point taken. But when llvm-gcc doesn't compile the code that every other instance of gcc found on modern platforms does, it's hard to argue that it's the same thing.

Edit -- the llvm-gcc project doesn't seem to share your opinion of the project as being "just another back-end". They certainly don't claim that it's fully compatible, only that it supports "many" features, "most" options, "a number of" extensions:

"Being derived from the GNU Compiler Collection, llvm-gcc has many of gcc's features and accepts most of gcc's options. It handles a number of gcc's extensions to the C programming language."

http://llvm.org/cmds/llvmgcc.html

Re:Xcode, GCC, and Homebrew by grandalf on Thursday February 16, 2012 @07:24PM (#3601398)
It's just a tradeoff. LVM offers certain benefits, at the expense of being completely full featured.
Re:Xcode, GCC, and Homebrew by nknight on Thursday February 16, 2012 @08:20PM (#3601576)
This is SOP for GCC backends. Not all platforms support all GCC features. And if you really think there aren't problems building the same code across the various official GCC backends, you're not paying attention. Ask the Linux kernel guys about GCC's code generation oddities.
Re:Xcode, GCC, and Homebrew by w0utert on Friday February 17, 2012 @04:01AM (#3602711)
"And if you really think there aren't problems building the same code across the various official GCC backends, you're not paying attention. Ask the Linux kernel guys about GCC's code generation oddities."

You don't even have to go as far as kernel developers. From a 'write once, compile everywhere' perspective, GCC is actually pretty bad. I used to work at a company that built and deployed to somewhere in the neighborhood of 20 different *nix platforms, over 6 different hardware architectures, running various GCC versions. Working around version- or backend-specific GCC issues was almost a daily task, and it wasn't getting any better with later versions.

It's not that GCC is 'bad', but it's not holy either, not by any stretch of imagination. There's a reason Apple decided to push clang as an alternative. I believe clang+LLVM will some day replace GCC on Linux and other platforms that use GCC as well.