A GCC cross-compiler targeting OpenBSD 7.7.
This version uses the patchset from OpenBSD ports (which is currently based on GCC 11.2), plus some extra patches, and is also rebased on top of the latest GCC 15.
I also removed BSD-specific code from the host tools to allow it to be compiled on Linux and other non-BSD platforms.
All architectures that the lang/gcc/11
port supports are also supported here, but note that I mostly only tested the x86_64
architecture.
alpha-unknown-openbsd
hppa-unknown-openbsd
i386-unknown-openbsd
x86_64-unknown-openbsd
arm-unknown-openbsd
aarch64-unknown-openbsd
powerpc-unknown-openbsd
powerpc64-unknown-openbsd
sparc64-unknown-openbsd
mips64-unknown-openbsd
mips64el-unknown-openbsd
riscv64-unknown-openbsd
You can obtain releases from the releases page.