From 06e10bb69fca621fc4dd51e3701906004ce7b3f0 Mon Sep 17 00:00:00 2001 From: Christian Brendlin <92454917+chrischtel@users.noreply.github.com> Date: Sun, 14 Sep 2025 14:44:46 +0200 Subject: [PATCH] Add Gentoo installation instructions to README Added Gentoo installation instructions for c3c. --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 5d1021227..e8b3176d4 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,29 @@ You can access `c3c` via [flake.nix](./flake.nix), which will contain the latest } ``` + +### Installing on Gentoo + +`c3c` is available in the [Gentoo GURU overlay](https://wiki.gentoo.org/wiki/Project:GURU). + +Enable and sync the GURU repository (if not already done): + +```sh +sudo eselect repository enable guru +sudo emaint sync -r guru +``` + +Install `c3c` with: + +```sh +sudo emerge -av dev-lang/c3c +``` + +* The compiler binary is installed to `/usr/bin/c3c`. +* The standard library is installed to `/usr/lib/c3`. + +For Gentoo-specific issues, please use the [Gentoo Bugzilla](https://bugs.gentoo.org/) (Product: *GURU*). + #### Building via Docker You can build `c3c` using an Ubuntu container. By default, the script will build through Ubuntu 22.04. You can specify the version by passing the `UBUNTU_VERSION` environment variable.