diff options
-rw-r--r-- | lang/pcc/DESCR | 19 | ||||
-rw-r--r-- | lang/pcc/Makefile | 18 | ||||
-rw-r--r-- | lang/pcc/PLIST | 1 | ||||
-rw-r--r-- | lang/pcc/distinfo | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/lang/pcc/DESCR b/lang/pcc/DESCR new file mode 100644 index 00000000000..bf10412f702 --- /dev/null +++ b/lang/pcc/DESCR @@ -0,0 +1,19 @@ +The compiler is based on the original Portable C Compiler by S. C. +Johnson, written in the late 70's. Even though much of the compiler +has been rewritten, some of the basics still remain. + +The intention is to write a C99 compiler while still keeping it small, +simple, fast and understandable. I think of it as if it shall be able +to compile and run on PDP11 (even if it may not happen in reality). +But with this in mind it becomes important to think twice about what +algorithms are used. + +The compiler is conceptually structured in two parts; pass1 which is +language-dependent, does parsing, typechecking and build trees, and +pass2 which is mostly language-independent. + +About 50% of the frontend code and 80% of the backend code has been +rewritten. Most stuff is written by me, with the exception of the +data-flow analysis part and the SSA conversion code which is written +by Peter A Jonsson, and the Mips port that were written as part of a +project by undergraduate students at LTU. diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile new file mode 100644 index 00000000000..aa179e88c2c --- /dev/null +++ b/lang/pcc/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/09/15 09:43:32 agc Exp $ + +DISTNAME= pcc-current +PKGNAME= pcc-0.9.8 +CATEGORIES= lang +MASTER_SITES= ftp://226.net120.skekraft.net/pcc/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.ludd.ltu.se/~ragge/pcc/ +COMMENT= Portable C compiler + +DIST_SUBDIR= ${PKGNAME_NOREV} + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/pcc/PLIST b/lang/pcc/PLIST new file mode 100644 index 00000000000..d6fbc218bef --- /dev/null +++ b/lang/pcc/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/15 09:43:32 agc Exp $ diff --git a/lang/pcc/distinfo b/lang/pcc/distinfo new file mode 100644 index 00000000000..e65bf95bcac --- /dev/null +++ b/lang/pcc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/09/15 09:43:32 agc Exp $ + +SHA1 (pcc-0.9.8/pcc-current.tgz) = a3162c1139b865d2f9ce50f0dd161ee4061f2460 +RMD160 (pcc-0.9.8/pcc-current.tgz) = 92fa1c920458fa5ccabe76f427ec48296effad27 +Size (pcc-0.9.8/pcc-current.tgz) = 299675 bytes |