From owner-freebsd-questions@FreeBSD.ORG Sun Jan 22 11:59:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA7CE1065670 for ; Sun, 22 Jan 2012 11:59:14 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 21C5F8FC14 for ; Sun, 22 Jan 2012 11:59:13 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0MBx2At026078 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 22 Jan 2012 11:59:10 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.2 smtp.infracaninophile.co.uk q0MBx2At026078 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1327233550; bh=9K0A/RzSArREqGeZZY2F+nDpi5cMM8rcWUS5nA1M/ts=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=SNsq7ofxj3+0Ksx9FfULmwqx+TRw7lldft04IkaJRHJrzTD69jpOTR7nbglb5UBwB Hup0F5iEK0p6S2OZgpQFFl3FjacGcMhq1b+7LvUTqBayfNUGrU4h4ELSwyEEy0T/mh aEqGMCcEToRN4FkRSycJpqMrdd8RSvCm4rCuSaTc= Message-ID: <4F1BF9FE.8010707@infracaninophile.co.uk> Date: Sun, 22 Jan 2012 11:58:54 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7AFE5B68C786CAF2712D1AFE" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Clang - what is the story? 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: Sun, 22 Jan 2012 11:59:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7AFE5B68C786CAF2712D1AFE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/01/2012 11:50, Thomas Mueller wrote: > While on the subject of Clang, is this compiler only for C, C++ and > Objective-C? Correct. Clang is the LLVM front-end for that family of languages. > What about Ada and Fortran? Does one need GCC for that? Dragonlace > for Ada? There are other LLVM front-ends for different languages. Plus you can use GCC to compile to an intermediate representation and then let LLVM do the rest. > I believe some of the ports require GCC. Many of these ports are > developed primarily for Linux and subsequently ported to FreeBSD ports > and NetBSD-based pkgsrc. Clang aims to be completely gcc compatible. It isn't quite there yet. Most of the ports that don't compile with clang are actually doing questionable things with their code that gcc should probably reject too. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7AFE5B68C786CAF2712D1AFE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8b+gYACgkQ8Mjk52CukIyB9wCfSdQjtWEkqPMVY0pZpGha7Wp7 1WwAnjTekOnzdmMxCtGDUdIry4Gvifc9 =iIrN -----END PGP SIGNATURE----- --------------enig7AFE5B68C786CAF2712D1AFE--