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
| System | Port | Version |
|---|---|---|
| MidnightBSD | lang/pcc | 1.1.0_1 |
| FreeBSD | lang/pcc | 1.1.0_2 |
| OpenBSD | lang/pcc/pcc | 1.1.0.20231021p0 |
| NetBSD | lang/pcc | 1.0.0nb1 |
| DragonFly | lang/pcc | 1.1.0_2 |
| HardenedBSD | lang/pcc | 1.1.0_2 |
| GhostBSD | lang/pcc | 1.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
pcc-libs>=1.1.0: devel/pcc-libs
Run dependencies 1
No port depends on this one.
Configuration
Options name: lang_pcc
| Option | Default | Description |
|---|---|---|
| THREADS | on | Enable Thread-local storage (TLS) |
- USES
- gmake tar:tgz
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pcc-1.1.0.tgz | 848427 | d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64 |
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/