lang/c3c 0.8.5 FreeBSD
Compiler for the C3 language
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
3bb2069188- License
- LGPL3, MIT
- Categories
- lang
- Package size
- 24419.5 KiB, 103989.9 KiB installed
Description
C3 is a programming language that is an evolution of C, enabling the same paradigms and retaining the same syntax as far as possible.
It introduces module namespacing, generic modules, optional-based error handling, defer, slices, compile-time evaluation, contracts, and built-in support for foreign function interfaces, while staying binary compatible with C and keeping the low-level control C programmers expect.
c3c is the C3 compiler, using LLVM as its backend.
Install
Binary package:
pkg install c3c
From the ports tree:
cd /usr/ports/lang/c3c/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= c3c>0:lang/c3c
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.8.4 | 0.8.4 | - | - | - |
| FreeBSD:14:quarterly | 0.8.4 | 0.8.4 | n/a | - | - |
| FreeBSD:15:latest | 0.8.4 | 0.8.5 | n/a | - | - |
| FreeBSD:15:quarterly | 0.8.4 | 0.8.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.4 | 0.8.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/llvm19
- devel/ninja
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/libssh2
- security/rhash
- textproc/expat2
- www/libnghttp2
Run dependencies 10
No port depends on this one.
Configuration
Options name: lang_c3c
| Option | Default | Description |
|---|---|---|
| CURL | on | Vendor library fetching via libcurl |
- USES
- cmake compiler:c++17-lang llvm:19
- Service scripts
- none
Files
Manual pages 1
- c3c(1)
pkg-plist 2
- bin/c3c
- share/man/man1/c3c.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| c3lang-c3c-v0.8.5_1_GH0.tar.gz | 2.7596238e+07 | 5af9f7187f838d1c59b6e298ffd7352557b0354b42394326aeee70b302406477 |