New C compiler and analyzer lang/cparser in ports

Alexander Leidinger Alexander at Leidinger.net
Fri Nov 28 00:39:16 PST 2008


Quoting Christoph Mallon <christoph.mallon at gmx.de> (from Thu, 27 Nov  
2008 21:39:45 +0100):

> cparser is a C compiler, which can parse C89 and C99 as well as many  
> GCC and some MSVC extensions. The handled GCC extensions include  
> __attribute__, inline assembler, computed goto and statement  
> expressions. The compiler driver is compatible with with GCC (-fxxx,  
> -Wxxx, -M, ...). It also provides many useful analyses for warnings  
> - for some examples see below.

How much of the GCC stuff in /usr/include/cdefs.h would work with  
cparser? Info: this is the major part one has to do to make another  
compiler ready to compile our kernel.

Bye,
Alexander.

-- 
What this country needs is a good five-cent nickel.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-hackers mailing list