Top "Clang" questions

For questions about the clang LLVM compiler front end.

Why is this program erroneously rejected by three C++ compilers?

I am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the …

c++ visual-c++ compiler-errors clang
Xcode - ld: library not found for -lPods

I get these errors when I try to build an iOS application. ld: library not found for -lPods clang: error: …

ios objective-c xcode clang cocoapods
Compiling problems: cannot find crt1.o

I have a virtual Debian system which I use to develop. Today I wanted to try llvm/clang. After installing …

gcc clang ld
Switching between GCC and Clang/LLVM using CMake

I have a number of projects built using CMake and I'd like to be able to easily switch between using …

cmake llvm clang
Where is PATH_MAX defined in Linux?

Which header file should I invoke with #include to be able to use PATH_MAX as an int for sizing …

c linux gcc include clang
How do I compile C++ with Clang?

I have installed Clang by using apt-get in Ubuntu, and I can successfully compile C files using it. However, I …

c++ clang
Clang vs GCC - which produces faster binaries?

I'm currently using GCC, but I discovered Clang recently and I'm pondering switching. There is one deciding factor though - …

optimization gcc compiler-construction clang benchmarking
Clang vs GCC for my Linux Development project

I'm in college, and for a project we're using C. We've explored GCC and Clang, and Clang appears to be …

c++ c linux gcc clang
How do I print a list of "Build Settings" in Xcode project?

Alternate Titles List of Xcode build variables Print a list of Xcode Build Settings Clang Environment Variables Canonical list of …

xcode build-process environment-variables clang
How to make clang compile to llvm IR

I want clang to compile my C/C++ code to LLVM bytecode rather than binary executable. How can I achieve …

c llvm clang