summaryrefslogtreecommitdiff
path: root/lang/pcc-current
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-03-02 12:13:38 +0000
committerhe <he@pkgsrc.org>2008-03-02 12:13:38 +0000
commit4e17e2047b5953260acee3f17e9c07b4ac947313 (patch)
tree943492ee77adcaaf4ef83e7df90c0d7127f24f2d /lang/pcc-current
parent379d275163660879a9f665b0567411c6f69498ae (diff)
downloadpkgsrc-4e17e2047b5953260acee3f17e9c07b4ac947313.tar.gz
Import a package which can be used to track "pcc current".
This one is for 0.9.9 using the 23 Feb 2008 sources, and is trivial to update to track a newer version.
Diffstat (limited to 'lang/pcc-current')
-rw-r--r--lang/pcc-current/DESCR19
-rw-r--r--lang/pcc-current/Makefile20
-rw-r--r--lang/pcc-current/PLIST7
-rw-r--r--lang/pcc-current/distinfo5
4 files changed, 51 insertions, 0 deletions
diff --git a/lang/pcc-current/DESCR b/lang/pcc-current/DESCR
new file mode 100644
index 00000000000..c76f9e8fcb8
--- /dev/null
+++ b/lang/pcc-current/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. 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 Anders Magnusson, 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-current/Makefile b/lang/pcc-current/Makefile
new file mode 100644
index 00000000000..92e982d1a65
--- /dev/null
+++ b/lang/pcc-current/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/02 12:13:38 he Exp $
+
+DISTNAME= pcc-${DATE_STR}
+PKGNAME= pcc-current-0.9.9.20${DATE_STR}
+DATE_STR= 080223
+CATEGORIES= lang
+MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= he@NetBSD.org
+HOMEPAGE= http://pcc.ludd.ltu.se/
+COMMENT= Portable C compiler
+
+CONFLICTS= pcc-[0-9]*
+
+USE_TOOLS+= lex yacc
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/pcc-current/PLIST b/lang/pcc-current/PLIST
new file mode 100644
index 00000000000..b0d5572369f
--- /dev/null
+++ b/lang/pcc-current/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/02 12:13:38 he Exp $
+bin/pcc
+libexec/ccom
+libexec/cpp
+man/man1/pcc.1
+man/man1/cpp.1
+man/man1/ccom.1
diff --git a/lang/pcc-current/distinfo b/lang/pcc-current/distinfo
new file mode 100644
index 00000000000..4f58cd06c96
--- /dev/null
+++ b/lang/pcc-current/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/02 12:13:38 he Exp $
+
+SHA1 (pcc-080223.tgz) = dd95cd4efaeca4f8fa9123f8b7473e0562c98416
+RMD160 (pcc-080223.tgz) = d9c495e1a9664a60c08538448ed074019a936a0f
+Size (pcc-080223.tgz) = 432942 bytes