BSD Ports

lang/gcc15-devel 15.3.1.s20261002 FreeBSD

GNU Compiler Collection 15

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0f0200bd74
License
GPLv3, GPLv3RLE
Categories
lang
Package size
92090.2 KiB, 333789.2 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDlang/gcc15-devel15.3.1.s20261002
DragonFlylang/gcc15-devel15.0.1.s20250330
GhostBSDlang/gcc15-devel15.3.1.s20260814

Install

Binary package:

pkg install gcc15-devel

From the ports tree:

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

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

RUN_DEPENDS=	gcc15-devel>0:lang/gcc15-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:latest15.3.1.s2026100215.3.1.s20261002-15.2.1.s2025081615.3.1.s20261002
FreeBSD:14:quarterly15.3.1.s2026081415.3.1.s20260814n/a15.1.1.s2025062815.3.1.s20260814
FreeBSD:15:latest15.3.1.s2026100215.3.1.s20261002n/a-15.2.1.s20250816
FreeBSD:15:quarterly15.3.1.s2026081415.3.1.s20260814n/an/an/a
FreeBSD:16:latest15.3.1.s2026081415.3.1.s20261002n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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/gcc15

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-15-20261002.tar.xz9.2508268e+0701c48b73df967ee6cc52ea64a31431f12d757c9ffd570a5b847e2ca0d1113739
Master sites 1
  • GCC/snapshots/${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}

Commit history 8

DateCommitCreditsLog message
0f0200bd74 Lorenzo Salvadore lang/gcc15-devel: Update to 15.3.1.s20261002
da442d3a3e Dimitry Andric lang/gcc15-devel: fix build after base d08296c7ab0d
After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement qualifier-preserving standard library functions"), lang/gcc15-devel fails to build with an error like: In file included from /wrkdirs/usr/ports/lang/gcc15-devel/work/.build/gcc/include-fixed/stdio.h:52, from cp-demangle.c:109: /wrkdirs/usr/ports/lang/gcc15-devel/work/gcc-15-20260724/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 …
d75529f0e7 Lorenzo Salvadore lang/gcc15-devel: Update to 15.3.1.s20260814
37b0a65d68 Lorenzo Salvadore lang/gcc15-devel: Update to 15.3.1.s20260724
e0df9f2cb4 Lorenzo Salvadore lang/gcc15-devel: Update to 15.3.1.s20260717

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