BSD Ports

lang/gcc15 15.2.0_4 DragonFly

GNU Compiler Collection 15

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3, GPLv3RLE
Categories
lang
Package size
92515.4 KiB, 361819.6 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

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlylang/gcc1515.2.0_4 newestnone known-[email protected]-
FreeBSDlang/gcc1515.2.0_4 newestnone known-[email protected]2026-10-26
MidnightBSDlang/gcc1515.2.0_1 newestno data-[email protected]2026-11-04
GhostBSDlang/gcc1515.2.0_4 newestno data-[email protected]-

Version history 1

  1. 15.2.0

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 gcc15

From DPorts:

cd /usr/dports/lang/gcc15 && make install clean

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

Run dependencies 5

Configuration

No options to configure.

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.