BSD Ports

lang/gcc12 12.4.0_2 DragonFly

GNU Compiler Collection 12

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3, GPLv3RLE
Categories
lang
Package size
74024.5 KiB, 289814.4 KiB installed

Description

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

Gerald Pfeifer <[email protected]>

In the other systems

SystemPortVersion
DragonFlylang/gcc1212.4.0_2
FreeBSDlang/gcc1212.5.0
NetBSDlang/gcc1212.5.0nb3
MidnightBSDlang/gcc1212.4.0_3
HardenedBSDlang/gcc1212.4.0_6
GhostBSDlang/gcc1212.4.0_6

Install

Binary package:

pkg install gcc12

From DPorts:

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

Dependencies

Run dependencies 5
Required by 1

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

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