pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/pcc Initial import of ragge's version of pcc, ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c6b0b893568
branches:  trunk
changeset: 533319:7c6b0b893568
user:      agc <agc%pkgsrc.org@localhost>
date:      Sat Sep 15 09:43:32 2007 +0000

description:
Initial import of ragge's version of pcc, version 0.9.8.  This is the
latest version of the portable C compiler.

        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.

As discussed at great length at EuroBSDcon 2007.

diffstat:

 lang/pcc/DESCR    |  19 +++++++++++++++++++
 lang/pcc/Makefile |  18 ++++++++++++++++++
 lang/pcc/PLIST    |   1 +
 lang/pcc/distinfo |   5 +++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 7b188a4dbaa3 -r 7c6b0b893568 lang/pcc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc/DESCR    Sat Sep 15 09:43:32 2007 +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.  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 -r 7b188a4dbaa3 -r 7c6b0b893568 lang/pcc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc/Makefile Sat Sep 15 09:43:32 2007 +0000
@@ -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@localhost
+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 -r 7b188a4dbaa3 -r 7c6b0b893568 lang/pcc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc/PLIST    Sat Sep 15 09:43:32 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/15 09:43:32 agc Exp $
diff -r 7b188a4dbaa3 -r 7c6b0b893568 lang/pcc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc/distinfo Sat Sep 15 09:43:32 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index