OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-16

distcc-3.4p0v0

distributed builds for C, C++ and Objective C

Project homepage: https://distcc.github.io/

Description

distcc is a program to distribute compilation of C or C++ code across several machines on a network. distcc should always generate the same results as a local compile, is simple to install and use, and is often two or more times faster than a local compile.

Package information

Ports path
devel/distcc
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, net, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Runtime

Build

Test

OpenBSD README
+-----------------------------------------------------------------------
| Running distcc on OpenBSD
+-----------------------------------------------------------------------

distcc
======
To spawn compilation jobs on remote hosts, a minimal configuration
such as the following can be used as `~/.distcc/hosts`:

    localhost 192.168.178.13

or `/etc/distcc/hosts` for a system-wide configuration.
For SSH connections prefix hosts with `@` in the host specification.
distcc will run the jobs as the user invoking distcc.

Then set `$CC` to `distcc` to distribute compilation jobs across the
configured nodes.

Masquerading
============
Since distcc 3.3 it is recommended to use whitelisted compiler binaries.
This feature is called masquerading and it's enabled by default. See
the MASQUERADING section in distcc(1) how to set this up.
If you wish to disable it and fallback to the old behaviour, use the
`--make-me-a-botnet` parameter for distccd.

References
==========
For more information on using distcc and setting up a build cluster, please
refer to the Gentoo and Arch Linux wikis. While containing information
specific to their build systems, they do provide good general information:

  - https://wiki.gentoo.org/wiki/Distcc
  - https://wiki.archlinux.org/index.php/Distcc

Package guides

Package details as JSON