notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2023Q3
gcc12 GNU Compiler Collection 12
12.4.0_2 lang on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 12.4.0_2Version of this port present on the latest quarterly branch.
Maintainer: salvadore@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-05-06 18:12:06
Last Update: 2025-03-13 16:54:27
Commit Hash: 13904d7
People watching this port, also watch:: samba419, 7-zip, samba416, rust, iperf3
License: GPLv3 GPLv3RLE
WWW:
https://gcc.gnu.org
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 <gerald@FreeBSD.org>
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (44 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/gcc12-12.4.0_2/catalog.mk
  3. /usr/local/share/licenses/gcc12-12.4.0_2/LICENSE
  4. /usr/local/share/licenses/gcc12-12.4.0_2/GPLv3
  5. /usr/local/share/licenses/gcc12-12.4.0_2/GPLv3RLE
  6. bin/x86_64-portbld-freebsd14.2-c++12
  7. bin/x86_64-portbld-freebsd14.2-g++12
  8. bin/x86_64-portbld-freebsd14.2-gcc12
  9. bin/x86_64-portbld-freebsd14.2-gcc-12.4.0
  10. bin/x86_64-portbld-freebsd14.2-gcc-ar12
  11. bin/x86_64-portbld-freebsd14.2-gcc-nm12
  12. bin/x86_64-portbld-freebsd14.2-gcc-ranlib12
  13. bin/x86_64-portbld-freebsd14.2-gfortran12
  14. bin/c++12
  15. bin/cpp12
  16. bin/g++12
  17. bin/gcc12
  18. bin/gcc-ar12
  19. bin/gcc-nm12
  20. bin/gcc-ranlib12
  21. bin/gcov12
  22. bin/gcov-dump12
  23. bin/gcov-tool12
  24. bin/gfortran12
  25. bin/lto-dump12
  26. include/gcc12/ISO_Fortran_binding.h
  27. share/man/man1/cpp12.1.gz
  28. share/man/man1/g++12.1.gz
  29. share/man/man1/gcc12.1.gz
  30. share/man/man1/gcov12.1.gz
  31. share/man/man1/gcov-dump12.1.gz
  32. share/man/man1/gcov-tool12.1.gz
  33. share/man/man1/gfortran12.1.gz
  34. share/man/man1/lto-dump12.1.gz
  35. share/gcc-12.4.0/python/libstdcxx/__init__.py
  36. share/gcc-12.4.0/python/libstdcxx/v6/__init__.py
  37. share/gcc-12.4.0/python/libstdcxx/v6/printers.py
  38. share/gcc-12.4.0/python/libstdcxx/v6/xmethods.py
  39. @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  40. @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
  41. @comment Insert PLIST.lib here
  42. @owner
  43. @group
  44. @mode
Collapse this list.
Dependency lines:
  • gcc12>0:lang/gcc12
Conflicts:
CONFLICTS:
  • gcc12-devel
To install the port:
cd /usr/ports/lang/gcc12/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/gcc12
  • pkg install gcc12
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gcc12
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le riscv64
distinfo:
TIMESTAMP = 1724162795 SHA256 (gcc-12.4.0.tar.xz) = 704f652604ccbccb14bdabf3478c9511c89788b12cb3bbffded37341916a9175 SIZE (gcc-12.4.0.tar.xz) = 83377372

Packages (timestamps in pop-ups are UTC):
gcc12
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.4.0_212.4.0_2-12.4.0_212.4.0_2---
FreeBSD:13:quarterly12.4.0_212.4.0_2-12.4.012.4.0_2-12.2.0_712.2.0_7
FreeBSD:14:latest12.4.0_212.4.0_2-12.4.0_212.4.0_2---
FreeBSD:14:quarterly12.4.012.4.0_2-12.4.012.4.0_2-12.2.0_712.2.0_7
FreeBSD:15:latest12.4.0_212.4.0_2n/a12.4.0_2n/a-12.2.0_812.3.0
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. gmake>=4.4.1 : devel/gmake
  3. makeinfo : print/texinfo
  4. as : devel/binutils
  5. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. as : devel/binutils
  2. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
This port is required by:
for Build
  1. astro/R-cran-maptools
  2. benchmarks/himenobench
  3. benchmarks/polygraph
  4. biology/psi88
  5. biology/seqan3
  6. cad/freehdl
  7. comms/ems-flasher
Expand this list (177 items / 170 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. converters/R-cran-base64enc
  3. databases/dbixx
  4. databases/fastdb
  5. databases/gigabase
  6. devel/R-cran-Hmisc
  7. devel/R-cran-ModelMetrics
  8. devel/R-cran-bindrcpp
  9. devel/R-cran-checkmate
  10. devel/R-cran-chron
  11. devel/R-cran-decor
  12. devel/R-cran-ellipsis
  13. devel/R-cran-fansi
  14. devel/R-cran-gbm
  15. devel/R-cran-glmnet
  16. devel/R-cran-gtools
  17. devel/R-cran-magrittr
  18. devel/R-cran-microbenchmark
  19. devel/R-cran-multicool
  20. devel/R-cran-plogr
  21. devel/R-cran-plyr
  22. devel/R-cran-prettyunits
  23. devel/R-cran-progress
  24. devel/R-cran-randomForest
  25. devel/R-cran-reshape
  26. devel/R-cran-reshape2
  27. devel/R-cran-tibble
  28. devel/R-cran-tidyr
  29. devel/R-cran-timechange
  30. devel/R-cran-vctrs
  31. devel/api-sanity-autotest
  32. devel/covtool
  33. devel/libcwd
  34. devel/lockfree-malloc
  35. finance/R-cran-TTR
  36. finance/R-cran-gmm
  37. finance/R-cran-lmtest
  38. french/med
  39. graphics/R-cran-GDD
  40. graphics/R-cran-pROC
  41. graphics/R-cran-png
  42. graphics/R-cran-scales
  43. graphics/dataplot
  44. graphics/dcp2icc
  45. graphics/pgplot
  46. graphics/sam2p
  47. graphics/xd3d
  48. irc/undernet-ircu
  49. lang/gambit-c
  50. lang/gnat12
  51. lang/micropython
  52. lang/p5-ExtUtils-F77
  53. mail/milter-callback
  54. math/R-cran-BsMD
  55. math/R-cran-KFAS
  56. math/R-cran-RSvgDevice
  57. math/R-cran-acepack
  58. math/R-cran-ash
  59. math/R-cran-conquer
  60. math/R-cran-dimRed
  61. math/R-cran-dplyr
  62. math/R-cran-exactRankTests
  63. math/R-cran-gpclib
  64. math/R-cran-haven
  65. math/R-cran-hdrcde
  66. math/R-cran-influenceR
  67. math/R-cran-irlba
  68. math/R-cran-isoband
  69. math/R-cran-lazyeval
  70. math/R-cran-mathjaxr
  71. math/R-cran-mcmc
  72. math/R-cran-nnls
  73. math/R-cran-partitions
  74. math/R-cran-prodlim
  75. math/R-cran-proxy
  76. math/R-cran-quadprog
  77. math/R-cran-sets
  78. math/R-cran-sm
  79. math/R-cran-truncnorm
  80. math/blacs
  81. math/blazeiterative
  82. math/cmlib
  83. math/ddfun
  84. math/dqfun
  85. math/dune-curvedgeometry
  86. math/dune-foamgrid
  87. math/dune-functions
  88. math/dune-localfunctions
  89. math/dune-metagrid
  90. math/dune-multidomaingrid
  91. math/dune-spgrid
  92. math/dune-typetree
  93. math/eispack
  94. math/hptt
  95. math/lapackpp
  96. math/librsb
  97. math/libxsmm
  98. math/lidia
  99. math/math77
  100. math/miracl
  101. math/optpp
  102. math/qd
  103. math/qxfun
  104. math/slatec
  105. math/spblas
  106. math/trlan
  107. misc/libemos
  108. misc/seabios
  109. misc/thrill
  110. misc/veles
  111. net/charm
  112. net-mgmt/aircrack-ng
  113. science/R-cran-DCluster
  114. science/R-cran-bayesm
  115. science/R-cran-eco
  116. science/R-cran-etm
  117. science/R-cran-udunits2
  118. science/aircraft-datcom
  119. science/chimes-calculator
  120. science/dftd3
  121. science/dkh
  122. science/erd
  123. science/feff10
  124. science/fvcom
  125. science/fvcom-mpi
  126. science/gamess-us
  127. science/gdma
  128. science/h5z-zfp
  129. science/isaac-cfd
  130. science/kim-api
  131. science/libgridxc
  132. science/m-aneos
  133. science/mcstas-comps
  134. science/mdynamix
  135. science/namd
  136. science/openkim-models
  137. science/q
  138. science/qwalk
  139. science/silo
  140. science/xcrysden
  141. sysutils/arcconf
  142. sysutils/memtest86+
  143. sysutils/wiimms
  144. textproc/R-cran-bibtex
  145. textproc/R-cran-pystr
  146. textproc/R-cran-readr
  147. textproc/R-cran-vroom
  148. textproc/fox-xml
  149. textproc/senna
  150. www/R-cran-Rook
  151. www/cgicc
  152. www/kannel-sqlbox
  153. Collapse this list.

Deleted ports which required this port:

Expand this list of 19 deleted ports
  1. cad/NASTRAN-95*
  2. comms/ncid*
  3. comms/sdr-wspr*
  4. databases/mysql-q4m*
  5. emulators/skyeye*
  6. emulators/wine7*
  7. finance/R-cran-ccgarch*
  8. graphics/R-cran-rtiff*
  9. graphics/gimp-gmic-plugin*
  10. graphics/py-open3d-python*
  11. mail/spamdyke*
  12. math/R-cran-RHmm*
  13. math/cvc3*
  14. math/octave-forge-statistics-bootstrap*
  15. net/openmpi3*
  16. science/dcl*
  17. science/libgeodecomp*
  18. sysutils/bacula11-libs3*
  19. www/anyterm*
  20. Collapse this list of deleted ports.
for Libraries
  1. sysutils/arcconf

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/hs-penrose*
  2. Collapse this list of deleted ports.
for Run
  1. astro/R-cran-maptools
  2. benchmarks/himenobench
  3. benchmarks/polygraph
  4. biology/psi88
  5. biology/seqan3
  6. cad/freehdl
  7. comms/ems-flasher
Expand this list (177 items / 170 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. converters/R-cran-base64enc
  3. databases/dbixx
  4. databases/fastdb
  5. databases/gigabase
  6. devel/R-cran-Hmisc
  7. devel/R-cran-ModelMetrics
  8. devel/R-cran-bindrcpp
  9. devel/R-cran-checkmate
  10. devel/R-cran-chron
  11. devel/R-cran-decor
  12. devel/R-cran-ellipsis
  13. devel/R-cran-fansi
  14. devel/R-cran-gbm
  15. devel/R-cran-glmnet
  16. devel/R-cran-gtools
  17. devel/R-cran-magrittr
  18. devel/R-cran-microbenchmark
  19. devel/R-cran-multicool
  20. devel/R-cran-plogr
  21. devel/R-cran-plyr
  22. devel/R-cran-prettyunits
  23. devel/R-cran-progress
  24. devel/R-cran-randomForest
  25. devel/R-cran-reshape
  26. devel/R-cran-reshape2
  27. devel/R-cran-tibble
  28. devel/R-cran-tidyr
  29. devel/R-cran-timechange
  30. devel/R-cran-vctrs
  31. devel/api-sanity-autotest
  32. devel/covtool
  33. devel/libcwd
  34. devel/lockfree-malloc
  35. finance/R-cran-TTR
  36. finance/R-cran-gmm
  37. finance/R-cran-lmtest
  38. french/med
  39. graphics/R-cran-GDD
  40. graphics/R-cran-pROC
  41. graphics/R-cran-png
  42. graphics/R-cran-scales
  43. graphics/dataplot
  44. graphics/dcp2icc
  45. graphics/pgplot
  46. graphics/sam2p
  47. graphics/xd3d
  48. irc/undernet-ircu
  49. lang/gambit-c
  50. lang/gcc
  51. lang/gnat12
  52. lang/micropython
  53. lang/p5-ExtUtils-F77
  54. mail/milter-callback
  55. math/R-cran-BsMD
  56. math/R-cran-KFAS
  57. math/R-cran-RSvgDevice
  58. math/R-cran-acepack
  59. math/R-cran-ash
  60. math/R-cran-conquer
  61. math/R-cran-dimRed
  62. math/R-cran-dplyr
  63. math/R-cran-exactRankTests
  64. math/R-cran-gpclib
  65. math/R-cran-haven
  66. math/R-cran-hdrcde
  67. math/R-cran-influenceR
  68. math/R-cran-irlba
  69. math/R-cran-isoband
  70. math/R-cran-lazyeval
  71. math/R-cran-mathjaxr
  72. math/R-cran-mcmc
  73. math/R-cran-nnls
  74. math/R-cran-partitions
  75. math/R-cran-prodlim
  76. math/R-cran-proxy
  77. math/R-cran-quadprog
  78. math/R-cran-sets
  79. math/R-cran-sm
  80. math/R-cran-truncnorm
  81. math/blacs
  82. math/blazeiterative
  83. math/cmlib
  84. math/combblas
  85. math/ddfun
  86. math/dqfun
  87. math/dune-curvedgeometry
  88. math/dune-foamgrid
  89. math/dune-functions
  90. math/dune-localfunctions
  91. math/dune-metagrid
  92. math/dune-multidomaingrid
  93. math/dune-spgrid
  94. math/dune-typetree
  95. math/eispack
  96. math/hptt
  97. math/lapackpp
  98. math/librsb
  99. math/libxsmm
  100. math/lidia
  101. math/math77
  102. math/miracl
  103. math/optpp
  104. math/qd
  105. math/qxfun
  106. math/slatec
  107. math/spblas
  108. math/trlan
  109. misc/libemos
  110. misc/thrill
  111. misc/veles
  112. net/charm
  113. net-mgmt/aircrack-ng
  114. science/R-cran-DCluster
  115. science/R-cran-bayesm
  116. science/R-cran-eco
  117. science/R-cran-etm
  118. science/R-cran-udunits2
  119. science/aircraft-datcom
  120. science/chimes-calculator
  121. science/dftd3
  122. science/dkh
  123. science/erd
  124. science/feff10
  125. science/fvcom
  126. science/fvcom-mpi
  127. science/gamess-us
  128. science/gdma
  129. science/h5z-zfp
  130. science/isaac-cfd
  131. science/kim-api
  132. science/libgridxc
  133. science/m-aneos
  134. science/mcstas-comps
  135. science/mdynamix
  136. science/namd
  137. science/openkim-models
  138. science/q
  139. science/qwalk
  140. science/silo
  141. science/xcrysden
  142. sysutils/arcconf
  143. sysutils/wiimms
  144. textproc/R-cran-bibtex
  145. textproc/R-cran-pystr
  146. textproc/R-cran-readr
  147. textproc/R-cran-vroom
  148. textproc/fox-xml
  149. textproc/senna
  150. www/R-cran-Rook
  151. www/cgicc
  152. www/kannel-sqlbox
  153. Collapse this list.

Deleted ports which required this port:

Expand this list of 19 deleted ports
  1. cad/NASTRAN-95*
  2. comms/ncid*
  3. comms/sdr-wspr*
  4. databases/mysql-q4m*
  5. emulators/skyeye*
  6. emulators/wine7*
  7. finance/R-cran-ccgarch*
  8. graphics/R-cran-rtiff*
  9. graphics/gimp-gmic-plugin*
  10. graphics/py-open3d-python*
  11. mail/spamdyke*
  12. math/R-cran-RHmm*
  13. math/cvc3*
  14. math/octave-forge-statistics-bootstrap*
  15. net/openmpi3*
  16. science/dcl*
  17. science/libgeodecomp*
  18. sysutils/bacula11-libs3*
  19. www/anyterm*
  20. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for gcc12-12.4.0_2: GRAPHITE=off: Support for Graphite loop optimizations MULTILIB=on: Build support for 32-bit and 64-bit targets ====> Options available for the radio BOOTSTRAP: you can only select none or one of them LTO_BOOTSTRAP=off: Build using a full LTO bootstrap STANDARD_BOOTSTRAP=on: Build using a full bootstrap without LTO ===> Use 'make config' to modify these settings
Options name:
lang_gcc12
USES:
compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz
pkg-message:
For install:
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.
Master Sites:
Expand this list (8 items)
Collapse this list.
  1. http://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-12.4.0/
  2. http://gcc.gnu.org/pub/gcc/releases/gcc-12.4.0/
  3. http://mirror.koddos.net/gcc/releases/gcc-12.4.0/
  4. https://ftp-stud.hs-esslingen.de/pub/Mirrors/sourceware.org/gcc/releases/gcc-12.4.0/
  5. https://ftp.funet.fi/pub/mirrors/sourceware.org/pub/gcc/releases/gcc-12.4.0/
  6. https://ftp.mpi-inf.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-12.4.0/
  7. https://mirrors.kernel.org/sourceware/gcc/releases/gcc-12.4.0/
  8. https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-12.4.0/
Collapse this list.

There are no commits on branch 2023Q3 for this port