Clang is a C/C++ language compiler frontend for LLVM.

learn more… | top users | synonyms

3
votes
1answer
1k views

How to install CLang using precompiled binaries?

How do I install CLang on Ubuntu, using precompiled binaries of CLang that I downloaded? Here's how I downloaded CLang: "LLVM Download Page" -> "Download LLVM 3.2" -> "Clang Binaries for ...
0
votes
1answer
50 views

Is it possible to install LLVM and Clang on a USB drive?

I recently installed Python3 in a local folder, as opposed to the entire system, on a shared hosting account and everything worked out perfectly. I was wondering if a similar thing could be done with ...
-1
votes
1answer
83 views

have clang 3.4., need clang 2.9

i installed the default version of clang and llvm in my ubuntu 14.04 and it's version 3.4. That's nice, but for some legacy stuff i need version 2.9. Ideally, i could install both version in parallel ...
4
votes
0answers
640 views

clang++ (version 3.3) lacks headers

This seems odd. Take a simple C++ program #include <cmath> #include <iostream> int main(void) { std::cout << "Square root of 9 is " << sqrt(9) << std::endl; } ...
2
votes
0answers
166 views

Upgrade to gcc-4.9 broke clang++

Recently I have upgraded to gcc-4.9 but it totally broke my clang++ and I am unable to compile anything. Error I am getting: In file included from src/tester.cpp:11: In file included from ...
2
votes
0answers
58 views

How to edit a backported package before uploading it to a PPA?

I'm attempting to backport Clang 3.2 to Quantal from Raring. Thinking this would be a relatively painless process, I ran the following command: backportpackage -s raring -d quantal -u ...
1
vote
0answers
247 views

clang++ fails to compile simple hello world c++ program

After upgrade to 14.04 from 12.04 clang++ stopped working. $ cat test.cpp #include <iostream> int main() { std::cout << "Hello World" << std::endl; return 0; } $ ...
0
votes
0answers
23 views

Building and hosting Ubuntu packages using C++11

The full question would be: Is Ubuntu ready to host C++ applications packages, compiled with C++11, and which use a large set of dependencies? Let's say that we have an official Ubuntu package (C++ ...
0
votes
0answers
45 views

How to upload my C program to the Ubuntu Software Center

I recently created a game using the C-programming language. Now I want to upload it to the Ubuntu software center but I don't know how. I'm searching on Google since at least 2 weeks, but without ...
0
votes
0answers
257 views

How can I use C++11's <regex> on Ubuntu?

I normally use the G++ compiler, but I don't have anything against using clang++. Reading about this, I get the idea that G++'s implementation of C++11's regex might not compile, and if it does, it ...
0
votes
0answers
10 views

Do I need to take checkout of clang seperately while installing llvm If I already have clang

I am tring to install llvm. Do I need to take checkout of clang seperately while installing llvm If I already have clang . Thanks in advance.
0
votes
0answers
393 views

32 bit crtbegin.o on 64-bit Ubuntu 12.10

I'm trying to compile a 32-bit binary on 64-bit Ubuntu using clang 3.4 and the -m32 option. However, I'm getting the following linker error: /usr/bin/ld: cannot find crtbegin.o: No such file or ...