lang/pcc-current - The NetBSD Packages Collection

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.  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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0earmv4pcc-current-20230506.tgz
NetBSD 10.0earmv4pcc-current-20230506.tgz
NetBSD 10.0earmv6hfpcc-current-20230506.tgz
NetBSD 10.0earmv6hfpcc-current-20230506.tgz
NetBSD 10.0earmv6hfpcc-current-20230506.tgz
NetBSD 10.0earmv7hfpcc-current-20230506.tgz
NetBSD 10.0earmv7hfpcc-current-20230506.tgz
NetBSD 10.0earmv7hfpcc-current-20230506.tgz
NetBSD 10.0earmv7hfpcc-current-20230506.tgz
NetBSD 10.0i386pcc-current-20230506.tgz
NetBSD 10.0i386pcc-current-20230506.tgz
NetBSD 10.0i386pcc-current-20230506.tgz
NetBSD 10.0powerpcpcc-current-20230506.tgz
NetBSD 10.0powerpcpcc-current-20230506.tgz
NetBSD 10.0powerpcpcc-current-20230506.tgz
NetBSD 10.0powerpcpcc-current-20230506.tgz
NetBSD 10.0x86_64pcc-current-20230506.tgz
NetBSD 10.0x86_64pcc-current-20230506.tgz
NetBSD 10.0x86_64pcc-current-20230506.tgz
NetBSD 9.0earmv6hfpcc-current-20230506.tgz
NetBSD 9.0earmv6hfpcc-current-20230506.tgz
NetBSD 9.0earmv6hfpcc-current-20230506.tgz
NetBSD 9.0earmv6hfpcc-current-20230506.tgz
NetBSD 9.0earmv7hfpcc-current-20230506.tgz
NetBSD 9.0earmv7hfpcc-current-20230506.tgz
NetBSD 9.0earmv7hfpcc-current-20230506.tgz
NetBSD 9.0earmv7hfpcc-current-20230506.tgz
NetBSD 9.0i386pcc-current-20230506.tgz
NetBSD 9.0i386pcc-current-20230506.tgz
NetBSD 9.0i386pcc-current-20230506.tgz
NetBSD 9.0powerpcpcc-current-20230506.tgz
NetBSD 9.0powerpcpcc-current-20230506.tgz
NetBSD 9.0powerpcpcc-current-20230506.tgz
NetBSD 9.0x86_64pcc-current-20230506.tgz
NetBSD 9.0x86_64pcc-current-20230506.tgz
NetBSD 9.0x86_64pcc-current-20230506.tgz
NetBSD 9.3x86_64pcc-current-20230506.tgz
NetBSD 9.3x86_64pcc-current-20230506.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.