From owner-freebsd-hackers@FreeBSD.ORG Tue May 19 20:35:33 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89706A5A for ; Tue, 19 May 2015 20:35:33 +0000 (UTC) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53ED2120E for ; Tue, 19 May 2015 20:35:33 +0000 (UTC) Received: by oihb9 with SMTP id b9so20641423oih.3 for ; Tue, 19 May 2015 13:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=/xosaHSIgDzxD8ieT6xsBaeoOBGATKwf0IHL4j3+zXE=; b=l3Y81sIIXQTdw4ko5onxpisDP62n64jqaznD4JGQ+fkhhhZKyhsSDBkOsiLZopW1HS TreduIjrGv24fc/Mx3KTSkaUBnf8JGi7Pq0F0kAnuLO1Tn8vpuzAWYoXumyp8+jn8c2b jWY7GkS/ecPSIKpp3FN1G1FIFLWNUzYusiQ57BGf2FYzdWWyDsyPWDijYWZbMfwLT8Ln gY9IC/4s8q+M7pxI2831sRwGfygnWHsU6PnF7qSKoF3XFcHoVFPuBqEEflUZinlOXWsW a5SxqWQ6vEbZ5AcedG2bNK1gWOKRV3vjfyMAlyDIFnG+/GePhDhUj/Y6tnjH3B47OknY 8MYg== MIME-Version: 1.0 X-Received: by 10.182.186.4 with SMTP id fg4mr22029619obc.7.1432067732791; Tue, 19 May 2015 13:35:32 -0700 (PDT) Received: by 10.202.199.131 with HTTP; Tue, 19 May 2015 13:35:32 -0700 (PDT) Reply-To: dave@sopwith.solgatos.com Date: Tue, 19 May 2015 13:35:32 -0700 Message-ID: Subject: Re: Trying to use clang/head and XCC From: Dave Seifert To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Tue, 19 May 2015 20:42:51 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 20:35:33 -0000 sean typed: > No documentation of what CFLAGS are required to build and ignore warnings. Are you *sure* that ignoring those warnings is a good idea? Brooks typed: > In principle clang could be used as the cross compiler > since it's multi-target, but gcc could never work unless the host and > target are the same. I have compiled NetBSD/alpha on FreeBSD/amd64 using gcc and it worked fine.