Clang - what is the story?
m.seaman at infracaninophile.co.uk
Sun Jan 22 11:59:14 UTC 2012
On 22/01/2012 11:50, Thomas Mueller wrote:
> While on the subject of Clang, is this compiler only for C, C++ and
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.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120122/835bf2cb/signature.pgp
More information about the freebsd-questions