15e68
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
1a. Is LLVM/Clang the default C/C++ compiler for FreeBSD 9 (amd64)?
1b. If so, how do I envoke the llvm compiler, meaning - what's the equivalent of running "gcc ..."? 2. Was all of FreeBSD 9 (amd64) built using LLVM/Clang solely (no GCC)? 3. Is GCC completely removed from FreeBSD 9 (amd64)? |
|
#2
|
|||
|
|||
|
1. No
2. Search 'clang build' on wiki.freebsd.org for details about how to employ 'llvm/clang' while compile things. 3. For kernel and base system, yes. for the ports system, no. Many ports need patches to be built with clang. And some won't compile if clang is used. 4. No |
| The Following User Says Thank You to darcsis For This Useful Post: | ||
frooyo (December 21st, 2011) | ||
|
#3
|
||||
|
||||
|
1a. No, but it's available as an alternate to gcc.
1b. "clang ..." 2. No, although it can be: http://wiki.freebsd.org/BuildingFreeBSDWithClang 3. No. Maybe later. |
| The Following User Says Thank You to wblock@ For This Useful Post: | ||
frooyo (December 21st, 2011) | ||
|
#4
|
|||
|
|||
|
Quote:
That status page doesn't make it clear. |
|
#5
|
||||
|
||||
|
Probably no date, just "when it's ready".
|
|
#6
|
|||
|
|||
|
Thanks.
We can mark this topic closed. |
|
#7
|
||||
|
||||
|
Quote:
http://wiki.freebsd.org/PortsAndClang
__________________
Powered by BareBSD |
|
#8
|
|||
|
|||
|
IIRC, removing all GPL bits from base is planned for FreeBSD 10.
|
|
#9
|
|||
|
|||
|
Excellent!
|
|
#10
|
|||
|
|||
|
So, gcc 4.2.1 will be removed from the base system of FreeBSD 10? That's good news.
|
|
#11
|
||||
|
||||
|
Quote:
Here's the actual status of all this: http://wiki.freebsd.org/BuildingFreeBSDWithClang http://wiki.freebsd.org/GPLinBase http://wiki.freebsd.org/PortsAndClang |
|
#12
|
|||
|
|||
|
Quote:
Quote:
__________________
May the source be with you! Last edited by DutchDaemon; December 24th, 2011 at 04:30. |
|
#13
|
||||
|
||||
|
Quote:
But it's a promising number indeed |
![]() |
| Tags |
| clang, compiling, freebsd 9, gcc, llvm |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Clang/LLVM and /etc/make.conf | nackpere | FreeBSD Development | 3 | January 13th, 2013 17:31 |
| [Solved] Is there any Fortran compiler works on freebsd 8.1 amd64? | gchnhn | Userland Programming & Scripting | 3 | October 1st, 2011 18:08 |
| FreeBSD with GCC 4.6 compiler | alie | Off-Topic | 5 | September 26th, 2011 13:32 |
| Is there any interest in this? - BASIC compiler for FreeBSD | Eponasoft | Userland Programming & Scripting | 27 | February 11th, 2010 18:30 |
| D programming language compiler for FreeBSD | WalterBright | FreeBSD Development | 2 | April 9th, 2009 05:05 |