Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Apple vs. FSF and gcc 4.2.1
- Date: Wed, 19 Oct 2011 17:38:59 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Apple vs. FSF and gcc 4.2.1
- References: <4E97A083.6030401@example.com> <BD9BE196-F8F1-455A-BE85-195E958A8978@example.com> <CAHU4tQTnj+o5i_XeW4kLd63yUBbcrcbNZyF96U1T4kvA3Hjs7g@example.com> <4E9E5B86.2090507@example.com> <87vcrlo62n.fsf@example.com> <4E9E7817.4060208@example.com>
Darren Cook writes: > Were you correcting my answer, or fleshing it out? :-) Fleshing it out. I just started actually using clang yesterday -- guuzen desu ne! > (I.e. once I have llvm and clang on my machine, can I compile C/C++ > into a binary, or do I still need gcc for one of the steps?) Maybe. :-) If your project doesn't use any GCC compiler flags or language syntax that clang doesn't support, yes. Just set CC=clang and CXX=clang++, and you should be good to go. And it's fast; I got a 5% reduction in XEmacs build time on a MacBook Pro, which is big considering that 70% of the build is compiling Lisp to bytecode and running tests. At a guess, it compiles C about 25-30% faster than GCC 4.4. I don't know yet if the produced XEmacs feels any faster.
- References:
- [tlug] Apple vs. FSF and gcc 4.2.1
- From: Darren Cook
- Re: [tlug] Apple vs. FSF and gcc 4.2.1
- From: brandelune
- Re: [tlug] Apple vs. FSF and gcc 4.2.1
- From: Kenneth Burling
- Re: [tlug] Apple vs. FSF and gcc 4.2.1
- From: Darren Cook
- Re: [tlug] Apple vs. FSF and gcc 4.2.1
- From: Stephen J. Turnbull
- Re: [tlug] Apple vs. FSF and gcc 4.2.1
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: [tlug] Does Mac still use cups?
- Next by Date: [tlug] Does Mac still use cups?
- Previous by thread: Re: [tlug] Apple vs. FSF and gcc 4.2.1
- Next by thread: [tlug] Apple vs. FSF and gcc 4.2.1
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links