BSD Ports

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

SystemPortVersion
FreeBSDlang/c0.15.1
DragonFlylang/c0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.15.10.15.10.140.140.15.1
FreeBSD:14:quarterly0.15.10.15.1n/a0.140.15.1
FreeBSD:15:latest0.15.10.15.1n/a0.140.14
FreeBSD:15:quarterly0.15.10.15.1n/an/an/a
FreeBSD:16:latest0.15.10.15.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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
FileSizeSHA256
ryanmjacobs-c-v0.15.1_GH0.tar.gz21271ecfad78cb0ab56da44dcfed805f5c261ddefd6dc4a4e57eb2dcfcffa85330605

Commit history 0

No commits in the history this site was built from.