BSD Ports

lang/gcc16-devel 16.2.1.s20261003 FreeBSD

GNU Compiler Collection 16

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
945282c96b
License
GPLv3, GPLv3RLE
Categories
lang
Package size
95646.3 KiB, 347912.0 KiB installed

Description

GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc16, g++16, and gfortran16, respectively.

In the other systems

The newest version among them is 16.2.1.s20261003, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDlang/gcc16-devel16.2.1.s20261003 newestnone known-[email protected]2026-10-12
GhostBSDlang/gcc16-devel16.2.1.s20260815 behind since 2026-10-05no data-[email protected]-

Version history 8

  1. 16.2.1.s20261003 945282c96b
  2. 16.2.1.s20260926 10575279d6
  3. 16.2.1.s20260815 6c05de92ea
  4. 16.1.1.s20260725 7d59d52c7a
  5. 16.1.1.s20260718 86d0b18e4c
  6. 16.1.1.s20260711 29cf845ac0
  7. 16.1.1.s20260704 40c850c3c4
  8. 16.1.1.s20260627 54414a08b5

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install gcc16-devel

From the ports tree:

cd /usr/ports/lang/gcc16-devel/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gcc16-devel>0:lang/gcc16-devel

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:latest16.2.1.s2026092616.2.1.s20261003--16.2.1.s20261003
FreeBSD:14:quarterly16.2.1.s2026081516.2.1.s20260815n/a-16.2.1.s20260815
FreeBSD:15:latest16.2.1.s2026100316.2.1.s20261003n/a-16.0.0.s20250817
FreeBSD:15:quarterly16.2.1.s2026081516.2.1.s20260815n/an/an/a
FreeBSD:16:latest16.2.1.s2026081516.2.1.s20261003n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Library 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

No port depends on this one.

Configuration

Options name: lang_gcc

OptionDefaultDescription
GRAPHITEoffSupport for Graphite loop optimizations
LTO_BOOTSTRAPoffBuild using a full LTO bootstrap
STANDARD_BOOTSTRAPoffBuild using a full bootstrap without LTO
USES
compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz
Service scripts
none

Message after installing

To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc16

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.

Files

Manual pages 8
  • cpp(1)
  • g++(1)
  • gcc(1)
  • gcov(1)
  • gcov-dump(1)
  • gcov-tool(1)
  • gfortran(1)
  • lto-dump(1)
pkg-plist 35
  • bin/-c++
  • bin/-g++
  • bin/-gcc
  • bin/-gcc-
  • bin/-gcc-ar
  • bin/-gcc-nm
  • bin/-gcc-ranlib
  • bin/-gfortran
  • bin/c++
  • bin/cpp
  • bin/g++
  • bin/gcc
  • bin/gcc-ar
  • bin/gcc-nm
  • bin/gcc-ranlib
  • bin/gcov
  • bin/gcov-dump
  • bin/gcov-tool
  • bin/gfortran
  • bin/lto-dump
  • include/gcc%%SUFFIX%%/ISO_Fortran_binding.h
  • share/man/man1/cpp.1.gz
  • share/man/man1/g++.1.gz
  • share/man/man1/gcc.1.gz
  • share/man/man1/gcov.1.gz
  • share/man/man1/gcov-dump.1.gz
  • share/man/man1/gcov-tool.1.gz
  • share/man/man1/gfortran.1.gz
  • share/man/man1/lto-dump.1.gz
  • share/gcc-%%GCC_VERSION%%/python/libstdcxx/__init__.py
  • share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/__init__.py
  • share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/printers.py
  • share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/xmethods.py
  • @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  • @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
distinfo 1
FileSizeSHA256
gcc-16-20261003.tar.xz9.9133792e+07fdd844d7aa15a8dc75fc5fa5c3b2a46ab32b880a7ebc263d735df5a91ac9f84a
Master sites 1
  • GCC/snapshots/${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}

Commit history 9

DateCommitCreditsLog message
945282c96b Lorenzo Salvadore lang/gcc16-devel: Update to 16.2.1.s20261003
10575279d6 Lorenzo Salvadore lang/gcc16-devel: Update to 16.2.1.s20260926
4e5276e134 Dimitry Andric lang/gcc16-devel: fix build after base d08296c7ab0d
After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement qualifier-preserving standard library functions"), lang/gcc16-devel fails to build with an error like: In file included from /wrkdirs/usr/ports/lang/gcc16-devel/work/.build/gcc/include-fixed/stdio.h:52, from cp-demangle.c:109: /wrkdirs/usr/ports/lang/gcc16-devel/work/gcc-16-20260725/libstdc++-v3/../include/libiberty.h:225:14: error: expected identifier or '(' before '_Generic' 225 | extern void *memrchr(const void *, int, size_t); | ^~~~~~~ This is because memrchr is now a macro, similar to the other functions in <string.h>, and libiberty.h attempts to incorrectly redeclare it. In turn, cp-demangle.c includes libiberty.h, but does not include the …
6c05de92ea Lorenzo Salvadore lang/gcc16-devel: Update to 16.2.1.s20260815
7d59d52c7a Lorenzo Salvadore lang/gcc16-devel: Update to 16.1.1.s20260725

The latest 5 of 9 in the history this site was built from.