lang/pcc 1.1.0_2 FreeBSD
Portable C Compiler
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE, BSD3CLAUSE, BSDCOMPATIBLE
- 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 |
|---|---|---|
| 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 |
| MidnightBSD | lang/pcc | 1.1.0_1 |
Install
Binary package:
pkg install pcc
From the ports tree:
cd /usr/ports/lang/pcc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pcc>0:lang/pcc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 1.1.0_2 | - | - | 1.1.0_2 |
| FreeBSD:14:quarterly | - | 1.1.0_2 | n/a | - | 1.1.0_2 |
| FreeBSD:15:latest | - | 1.1.0_2 | n/a | - | 1.1.0_2 |
| FreeBSD:15:quarterly | - | 1.1.0_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.1.0_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
pcc-libs>=1.1.0: devel/pcc-libs
The full lists below include those, and their dependencies in turn.
Build dependencies 3
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/
Commit history 0
No commits in the history this site was built from.