[cfe-dev] clang on Ubuntu trusty: install & launch

Robinson, Paul via cfe-dev cfe-dev at lists.llvm.org
Mon Jul 31 06:35:16 PDT 2017



> -----Original Message-----
> From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Csaba
> Raduly via cfe-dev
> Sent: Monday, July 31, 2017 2:16 AM
> To: zosrothko
> Cc: cfe-dev
> Subject: Re: [cfe-dev] clang on Ubuntu trusty: install & launch
> 
> Hello zosrothko,
> 
> This is the wrong list to ask such questions.
> The cfe-dev mailing list is for discussions about developing clang
> (i.e. people who work on making clang).
> Questions about how to use clang should be sent to cfe-
> users at lists.llvm.org>
> 
> On Sat, Jul 29, 2017 at 9:49 PM, zosrothko via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > Hello CFE listers
> >
> > Can someone explain me
> >
> > 1/ how to install properly clang on Ubuntu trusty?
> >
> 
> Have you tried the following?
> 
> sudo apt-get install clang
> 
> > 2/ How to launch clang properly on Ubuntu trusty with the "good" options
> for
> > the c++ library?
> 
> This question isn't precise enough to allow a useful answer. What do
> you mean by "good options for the c++ library" ?
> What have you tried? What did you expect? What happened instead?

I suspect you are finding that "clang foo.cpp" gives linker errors.
If instead you use "clang++ foo.cpp" then probably that will solve it.
--paulr

> 
> 
> Csaba
> --
> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
> The Tao of math: The numbers you can count are not the real numbers.
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus
> Torvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list