etresoft wrote:
That really isn't GCC. It is just a GCC front-end attached to the LLVM backend. It is for people who really like the LLVM-genreated code but don't like LLVM's clear, and easy-to-read warnings and errors.
If you have code that only compiles on GCC, then you need to change the code. GCC has never been a standards-compliant compiler. Relying on GCC is always going to bite you end the end because it silently allows buggy code.
It is the GCC front-end, and that's all you need for building code which doesn't parse with clang (yes, if your code doesn't parse with clang, it's likely to be wrong code, but there're some programs like that on the net). Also, the GCC front-end supports OpenMP, while the clang front-end doesn't (yes, I saw your last post on the other thread, but I understand that's work in progress, and not merged with the 3.3 branch yet (the clang version shipped with Xcode 5 is 3.3.
xnav wrote:
From the Xcode 5 Release Notes
Xcode 5 does not support using the LLVM-GCC compiler or the GDB debugger. 14857582
This doesn't mean it can't be used from the command line.
Yes, but I was unable to find the release notes for the newest command line tools (from sept 18th), so I assume the command line tools didn't include gcc nor gdb. Moreover, searching the net I found some people having difficulties to compiles some open source code, and the general reply was that Xcode 5 doesn't have gcc, so the only options are to either install a custom gcc build, or fix the code so that it compiles with clang. I assumed these people was working from the command line, so that's why I'm surprised to find llvm-gcc on my machine. I don't know if it's there from the Xcode 5 command line tools, or from the previous 4.6 installation.