From owner-freebsd-questions@FreeBSD.ORG Tue Jun 19 11:51:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A5191065675; Tue, 19 Jun 2012 11:51:25 +0000 (UTC) (envelope-from joe.gain@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EBDAC8FC1F; Tue, 19 Jun 2012 11:51:24 +0000 (UTC) Received: by werg1 with SMTP id g1so5548703wer.13 for ; Tue, 19 Jun 2012 04:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ukm17VI5n9dOZ334YHjgzY6blooFIwdHNNDdpuqQtyM=; b=QH3J9cv5pSMSB+5rpTNDQIGhIy+PLfrV0OJH78S63haD/wnZicRI6IUlNxSNlsAfMf ooflvBw8ZqfYofQCImLxXphyJ9kpNJ3byYIsqIuxHW5AORjdxlep9OqhqH4YTQYKSNx/ JCH7QgJqRBZ0OfVRusTwwcVtVmDOYvuCkMRfwpMJDXj7n5OmCt2draiKlJxCo9PVaV9p oJKweNxuGgQwXiskbmGKyXQ9MUT5jatej8JDmzOnsiWBzz9cWWEZ7h3MAhL6GS9Wpfep 2fWBvkotLaXK7blt2O8jOwxz5n4MesAsXNsvfnDQZXRacTp22dg0wPTyIufadf99JtNk PoFg== MIME-Version: 1.0 Received: by 10.216.205.5 with SMTP id i5mr9879824weo.6.1340106675114; Tue, 19 Jun 2012 04:51:15 -0700 (PDT) Received: by 10.216.220.96 with HTTP; Tue, 19 Jun 2012 04:51:12 -0700 (PDT) In-Reply-To: <20448.26026.963013.57533@jerusalem.litteratus.org> References: <14.FA.06229.7A140EF4@smtp01.insight.synacor.com> <20448.26026.963013.57533@jerusalem.litteratus.org> Date: Tue, 19 Jun 2012 13:51:12 +0200 Message-ID: From: Joe Gain To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 19 Jun 2012 12:16:02 +0000 Cc: Thomas Mueller , David Naylor , Volodymyr Kostyrko , Matthew Seaman , freebsd-questions@freebsd.org Subject: Re: Why Clang? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 11:51:25 -0000 On Tue, Jun 19, 2012 at 1:42 PM, Robert Huff wrote: > > Thomas Mueller writes: > >> =A0Now how will I know whether GCC or Clang is the default compiler >> =A0for building the world and kernel, and for ports? > > =A0 =A0 =A0 =A0My understanding is: > > =A0 =A0 =A0 =A08.* > =A0 =A0 =A0 =A0base - gcc > =A0 =A0 =A0 =A0ports - gcc > > =A0 =A0 =A0 =A09.0 (and possibly 9.*) > =A0 =A0 =A0 =A0base - gcc > =A0 =A0 =A0 =A0ports - clang (with the caveat some ports need either any = gcc > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0or a speci= fic version) > I can't confirm this other than to say, that I compile stable 9 base (kernel + world) using clang and ports using gcc. I have to compile base using WERROR=3D and NO_WERROR=3D settings in make.conf so that the compilation doesn't halt on error messages. Maybe this is no longer required. This is as per wiki, though admittedly, as per wiki a couple of months ago. I can imagine that the problem will be compiling ports with clang. Some of the gcc code is not correct as per specification. There's a list somewhere of currently compilable ports using clang. > =A0 =A0 =A0 =A0CURRENT > =A0 =A0 =A0 =A0base - as of this writing, clang (look for announcement in > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0current@ o= r hackers@) > =A0 =A0 =A0 =A0ports - clang, as above though with a shorter list > > =A0 =A0 =A0 =A0(Someone please correct me if they have more accurate > information.) > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0Robert Huff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???)