pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/pcc-current Import a package which can be used to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ec8ed8f3972
branches:  trunk
changeset: 539253:4ec8ed8f3972
user:      he <he%pkgsrc.org@localhost>
date:      Sun Mar 02 12:13:38 2008 +0000

description:
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:

 lang/pcc-current/DESCR    |  19 +++++++++++++++++++
 lang/pcc-current/Makefile |  20 ++++++++++++++++++++
 lang/pcc-current/PLIST    |   7 +++++++
 lang/pcc-current/distinfo |   5 +++++
 4 files changed, 51 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r 712cafb21ab0 -r 4ec8ed8f3972 lang/pcc-current/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc-current/DESCR    Sun Mar 02 12:13:38 2008 +0000
@@ -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 -r 712cafb21ab0 -r 4ec8ed8f3972 lang/pcc-current/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc-current/Makefile Sun Mar 02 12:13:38 2008 +0000
@@ -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@localhost
+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 -r 712cafb21ab0 -r 4ec8ed8f3972 lang/pcc-current/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc-current/PLIST    Sun Mar 02 12:13:38 2008 +0000
@@ -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 -r 712cafb21ab0 -r 4ec8ed8f3972 lang/pcc-current/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc-current/distinfo Sun Mar 02 12:13:38 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index