4 ms·
The newest Xcode actually doesn't ship with gcc, which is the complaint here I suppose. It hasn't impacted me all that much, but I don't use a ton of non-OSX s
by jeremymcanally 15y ago
The newest Xcode actually doesn't ship with gcc, which is the complaint here I suppose. It hasn't impacted me all that much, but I don't use a ton of non-OSX specific software (and none outside of homebrew/ports).
- scott_s 15y agoHuh? Sure it does. That's how I got it. See: https://devimages.apple.com.edgekey.net/downloads/xcode/xcode_42_for_lion_readme.pdf https://devimages.apple.com.edgekey.net/downloads/xcode/xcod...
- heresy 15y agoIt installs a "gcc" command-line wrapper which actually calls the LLVM compiler.
- scott_s 15y agoHmm, 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.
- farmdawgnation 15y agoHeh, 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.
- scott_s 15y agoSame 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.
- danieldk 15y agoYou do know that MacPorts installs plain gcc as a dependency for many packages?
- rsynnott 15y agoThis shouldn't be too surprising; it _is_ GCC, but using an LLVM backend (it's not clang).
- stephencanon 15y agoIt also installs "gcc-4.2", which is actually the gcc-4.2 driver.
- atopuzov 15y agoGcc binary is the gcc+llvm, but you also have gcc-4.2 gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. but gcc-4.2 is the real deal gcc-4.2 --version i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.