BSD Ports

lang/gcc17-devel 17.0.0.s20261004 FreeBSD

GNU Compiler Collection 17

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
47f5c85b16
License
GPLv3, GPLv3RLE
Categories
lang
Package size
119426.0 KiB, 424389.3 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDlang/gcc17-devel17.0.0.s20261004
GhostBSDlang/gcc17-devel17.0.0.s20260802

Install

Binary package:

pkg install gcc17-devel

From the ports tree:

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

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

RUN_DEPENDS=	gcc17-devel>0:lang/gcc17-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:latest17.0.0.s2026092717.0.0.s20261004--17.0.0.s20261004
FreeBSD:14:quarterly17.0.0.s2026080217.0.0.s20260802n/a-17.0.0.s20260802
FreeBSD:15:latest17.0.0.s2026100417.0.0.s20261004n/a--
FreeBSD:15:quarterly17.0.0.s2026080217.0.0.s20260802n/an/an/a
FreeBSD:16:latest17.0.0.s2026080217.0.0.s20261004n/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/gcc17

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-17-20261004.tar.xz1.00817204e+08f77820f82aa8f0415892eb49ca926b40eeaa24842c578632548863c682ef14b1
Master sites 1
  • GCC/snapshots/${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}

Commit history 9

DateCommitCreditsLog message
47f5c85b16 Lorenzo Salvadore lang/gcc17-devel: Update to 17.0.0.s20261004
d572ab7258 Lorenzo Salvadore lang/gcc17-devel: Update to 17.0.0.s20260927
096369a791 Dimitry Andric lang/gcc17-devel: fix build after base d08296c7ab0d
After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement qualifier-preserving standard library functions"), lang/gcc17-devel fails to build with an error like: In file included from /wrkdirs/usr/ports/lang/gcc17-devel/work/.build/gcc/include-fixed/stdio.h:52, from cp-demangle.c:109: /wrkdirs/usr/ports/lang/gcc17-devel/work/gcc-17-20260727/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 …
558ff160e0 Lorenzo Salvadore lang/gcc17-devel: Update to 17.0.0.s20260802
108a5ac627 Lorenzo Salvadore lang/gcc17-devel: Update to 17.0.0.s20260727

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