BSD Ports

lang/pcc 1.1.0_1 MidnightBSD

The Portable C Compiler

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
BSDCOMPATIBLE, bsd2, bsd3
Categories
lang

Description

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

In the other systems

SystemPortVersion
MidnightBSDlang/pcc1.1.0_1
FreeBSDlang/pcc1.1.0_2
OpenBSDlang/pcc/pcc1.1.0.20231021p0
NetBSDlang/pcc1.0.0nb1
DragonFlylang/pcc1.1.0_2
HardenedBSDlang/pcc1.1.0_2
GhostBSDlang/pcc1.1.0_2

Install

Binary package:

mport install pcc

From mports:

cd /usr/mports/lang/pcc && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pcc>0:lang/pcc

Dependencies

As this port's Makefile names them.

Runtime 1

Run dependencies 1

No port depends on this one.

Configuration

Options name: lang_pcc

OptionDefaultDescription
THREADSonEnable Thread-local storage (TLS)
USES
gmake tar:tgz
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pcc-1.1.0.tgz848427d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64
Master sites 3
  • ftp://pcc.ludd.ltu.se/pub/pcc-releases/
  • http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
  • ftp://226.net120.skekraft.net/pcc-releases/