Date: Sun, 22 Jan 2012 11:58:54 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Clang - what is the story? Message-ID: <4F1BF9FE.8010707@infracaninophile.co.uk> In-Reply-To: <F8.85.20086.BE7FB1F4@smtp02.insight.synacor.com> References: <F8.85.20086.BE7FB1F4@smtp02.insight.synacor.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1BF9FE.8010707>