lang/c 0.15.1 FreeBSD
Tool to compile and run C programs like a shell script
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- lang
- Package size
- 4.4 KiB, 7.2 KiB installed
Description
Tool to compile and run C programs like a shell script.
First of all, this is not the same as tcc. TCC is a compiler. TCC will perform its own set of optimizations, just as GCC will perform its own and Clang will perform its own. The purpose of this script is to give a simple front-end to a compiler.
Whether it's GCC, Clang, or something else entirely, one can get to choose their compiler. It's simply satisfying to type c hello.c and see it run instantly.
C is fast. Being able to write a small, fast, and portable C "script" is great. One can pass around a C "script" just like s/he would a BASH script.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/c | 0.15.1 |
| DragonFly | lang/c | 0.14 |
Install
Binary package:
pkg install c
From the ports tree:
cd /usr/ports/lang/c/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= c>0:lang/c
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 | 0.15.1 | 0.15.1 | 0.14 | 0.14 | 0.15.1 |
| FreeBSD:14:quarterly | 0.15.1 | 0.15.1 | n/a | 0.14 | 0.15.1 |
| FreeBSD:15:latest | 0.15.1 | 0.15.1 | n/a | 0.14 | 0.14 |
| FreeBSD:15:quarterly | 0.15.1 | 0.15.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.15.1 | 0.15.1 | 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
bash: shells/bash
The full lists below include those, and their dependencies in turn.
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ryanmjacobs-c-v0.15.1_GH0.tar.gz | 21271 | ecfad78cb0ab56da44dcfed805f5c261ddefd6dc4a4e57eb2dcfcffa85330605 |
Commit history 0
No commits in the history this site was built from.