From owner-freebsd-stable@FreeBSD.ORG Tue Sep 11 21:55:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 458D7106566B for ; Tue, 11 Sep 2012 21:55:12 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F19C38FC0A for ; Tue, 11 Sep 2012 21:55:11 +0000 (UTC) Received: by obbun3 with SMTP id un3so2004789obb.13 for ; Tue, 11 Sep 2012 14:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SGlnlBOzUJuRjaCfdN3hQh7Nicn510a6Gr5hjhvxdmg=; b=q1u9MoW4BFND3RJpfg1nuph0saqqzMhjVNCyQa1Uo9Vxl/bibGFEPnL2USTpLZOe3k rnHfskDUQAQ87OYAVHGi/WpOsHK9icn6mgAAvti1tyOT2mq4qz4J4bbpQC53WUEHm0Cg p45Benmwbt2iLTfzCreYOAxNoqLEdiMAu8wJNhrEAewKd9/K/Y2QT0XYunGo3bpgPSdw iV8zLmFC0tH/mA2ZrDyAAzK0H226O0n5dSguUGquLxU0s39ufI1XDlfGJEPuSJLiNgZh 05CDQQGtDBedVIgOQZ5YChwOdi+X/VE8Pdq1trdkYghxK+iD1sjB6j69yHFkUYkmeDXa iB6w== MIME-Version: 1.0 Received: by 10.182.72.8 with SMTP id z8mr12479784obu.87.1347400164920; Tue, 11 Sep 2012 14:49:24 -0700 (PDT) Received: by 10.60.46.165 with HTTP; Tue, 11 Sep 2012 14:49:24 -0700 (PDT) Date: Tue, 11 Sep 2012 23:49:24 +0200 Message-ID: From: Andreas Nilsson To: FreeBSD Stable Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Clang as default compiler X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 21:55:12 -0000 Today I decided to take the plunge and make clang the default compiler, ie I set WITH_CLANG=yes WITH_CLANG_IS_CC=yes WITH_CLANG_EXTRAS=yes in src.conf. No problem so far. However I wanted to avoid building base gcc ( the whole collection ). Is WITHOUT_GCC what I'm looking for? On another clang note: Is there a page specifying valid settings for -march, my google-foo is failing me. Ie, I'm looking for the equivalent of http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options After successful install I went on to upgrade some ports. Is there a specif PR to use for ports that fails with clang and does not specify to use gcc ( devel/cdecl and deskutils/calibre so were the culprits so far) Best regards Andreas