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
Port details on branch 2025Q1
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.0Version 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-05 15:32:48
Commit Hash: 1846a7f
People watching this port, also watch:: binutils, nmap, samba416, samba419, python39
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.1-c++12
  7. bin/x86_64-portbld-freebsd14.1-g++12
  8. bin/x86_64-portbld-freebsd14.1-gcc12
  9. bin/x86_64-portbld-freebsd14.1-gcc-12.4.0
  10. bin/x86_64-portbld-freebsd14.1-gcc-ar12
  11. bin/x86_64-portbld-freebsd14.1-gcc-nm12
  12. bin/x86_64-portbld-freebsd14.1-gcc-ranlib12
  13. bin/x86_64-portbld-freebsd14.1-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_112.4.0_1-12.4.0_112.4.0_1---
FreeBSD:13:quarterly12.4.012.4.0-12.4.012.4.0-12.2.0_712.2.0_7
FreeBSD:14:latest12.4.012.4.0_1-12.4.012.4.0_1---
FreeBSD:14:quarterly12.4.012.4.0-12.4.012.4.0-12.2.0_712.2.0_7
FreeBSD:15:latest12.4.0_112.4.0_1n/a12.4.0_1n/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. astro/nightfall
  3. benchmarks/himenobench
  4. benchmarks/polygraph
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (189 items / 182 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/seqan3
  3. cad/freehdl
  4. comms/ems-flasher
  5. converters/R-cran-RJSONIO
  6. converters/R-cran-base64enc
  7. databases/dbixx
  8. databases/fastdb
  9. databases/gigabase
  10. devel/R-cran-Hmisc
  11. devel/R-cran-ModelMetrics
  12. devel/R-cran-bindrcpp
  13. devel/R-cran-checkmate
  14. devel/R-cran-chron
  15. devel/R-cran-decor
  16. devel/R-cran-ellipsis
  17. devel/R-cran-fansi
  18. devel/R-cran-gbm
  19. devel/R-cran-glmnet
  20. devel/R-cran-gtools
  21. devel/R-cran-magrittr
  22. devel/R-cran-microbenchmark
  23. devel/R-cran-multicool
  24. devel/R-cran-plogr
  25. devel/R-cran-plyr
  26. devel/R-cran-prettyunits
  27. devel/R-cran-progress
  28. devel/R-cran-randomForest
  29. devel/R-cran-reshape
  30. devel/R-cran-reshape2
  31. devel/R-cran-tibble
  32. devel/R-cran-tidyr
  33. devel/R-cran-timechange
  34. devel/R-cran-tzdb
  35. devel/R-cran-vctrs
  36. devel/api-sanity-autotest
  37. devel/covtool
  38. devel/libcwd
  39. devel/lockfree-malloc
  40. finance/R-cran-TTR
  41. finance/R-cran-gmm
  42. finance/R-cran-lmtest
  43. french/med
  44. graphics/R-cran-GDD
  45. graphics/R-cran-pROC
  46. graphics/R-cran-png
  47. graphics/R-cran-scales
  48. graphics/dataplot
  49. graphics/dcp2icc
  50. graphics/gimp-beautify-plugin
  51. graphics/pgplot
  52. graphics/sam2p
  53. graphics/xd3d
  54. irc/undernet-ircu
  55. lang/gambit-c
  56. lang/gnat12
  57. lang/micropython
  58. lang/p5-ExtUtils-F77
  59. mail/milter-callback
  60. math/R-cran-BsMD
  61. math/R-cran-KFAS
  62. math/R-cran-RSvgDevice
  63. math/R-cran-acepack
  64. math/R-cran-ash
  65. math/R-cran-conquer
  66. math/R-cran-dimRed
  67. math/R-cran-dplyr
  68. math/R-cran-exactRankTests
  69. math/R-cran-gpclib
  70. math/R-cran-haven
  71. math/R-cran-hdrcde
  72. math/R-cran-influenceR
  73. math/R-cran-irlba
  74. math/R-cran-isoband
  75. math/R-cran-lazyeval
  76. math/R-cran-mathjaxr
  77. math/R-cran-mcmc
  78. math/R-cran-nnls
  79. math/R-cran-partitions
  80. math/R-cran-prodlim
  81. math/R-cran-proxy
  82. math/R-cran-quadprog
  83. math/R-cran-sets
  84. math/R-cran-sm
  85. math/R-cran-truncnorm
  86. math/R-cran-units
  87. math/blacs
  88. math/blazeiterative
  89. math/cmlib
  90. math/ddfun
  91. math/dqfun
  92. math/dune-curvedgeometry
  93. math/dune-foamgrid
  94. math/dune-functions
  95. math/dune-localfunctions
  96. math/dune-metagrid
  97. math/dune-multidomaingrid
  98. math/dune-spgrid
  99. math/dune-typetree
  100. math/eispack
  101. math/hptt
  102. math/lapackpp
  103. math/librsb
  104. math/libxsmm
  105. math/lidia
  106. math/math77
  107. math/miracl
  108. math/optpp
  109. math/py-pynleq2
  110. math/qd
  111. math/qxfun
  112. math/slatec
  113. math/spblas
  114. math/trlan
  115. misc/R-cran-mime
  116. misc/libemos
  117. misc/py-QSpectrumAnalyzer
  118. misc/seabios
  119. misc/thrill
  120. misc/veles
  121. net/charm
  122. net-mgmt/aircrack-ng
  123. science/R-cran-DCluster
  124. science/R-cran-bayesm
  125. science/R-cran-eco
  126. science/R-cran-etm
  127. science/R-cran-udunits2
  128. science/aircraft-datcom
  129. science/chimes-calculator
  130. science/dftd3
  131. science/dkh
  132. science/erd
  133. science/feff10
  134. science/fvcom
  135. science/fvcom-mpi
  136. science/gamess-us
  137. science/gdma
  138. science/h5z-zfp
  139. science/isaac-cfd
  140. science/kim-api
  141. science/libgridxc
  142. science/m-aneos
  143. science/mcstas-comps
  144. science/mdynamix
  145. science/namd
  146. science/openkim-models
  147. science/py-scikit-learn
  148. science/q
  149. science/qwalk
  150. science/silo
  151. science/xcrysden
  152. sysutils/arcconf
  153. sysutils/memtest86+
  154. sysutils/wiimms
  155. textproc/R-cran-bibtex
  156. textproc/R-cran-pystr
  157. textproc/R-cran-readr
  158. textproc/R-cran-vroom
  159. textproc/R-cran-xml2
  160. textproc/fox-xml
  161. textproc/senna
  162. www/R-cran-Rook
  163. www/cgicc
  164. www/kannel-sqlbox
  165. 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. astro/nightfall
  3. benchmarks/himenobench
  4. benchmarks/polygraph
  5. biology/R-cran-Biobase
  6. biology/R-cran-BiocGenerics
  7. biology/psi88
Expand this list (189 items / 182 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. biology/seqan3
  3. cad/freehdl
  4. comms/ems-flasher
  5. converters/R-cran-RJSONIO
  6. converters/R-cran-base64enc
  7. databases/dbixx
  8. databases/fastdb
  9. databases/gigabase
  10. devel/R-cran-Hmisc
  11. devel/R-cran-ModelMetrics
  12. devel/R-cran-bindrcpp
  13. devel/R-cran-checkmate
  14. devel/R-cran-chron
  15. devel/R-cran-decor
  16. devel/R-cran-ellipsis
  17. devel/R-cran-fansi
  18. devel/R-cran-gbm
  19. devel/R-cran-glmnet
  20. devel/R-cran-gtools
  21. devel/R-cran-magrittr
  22. devel/R-cran-microbenchmark
  23. devel/R-cran-multicool
  24. devel/R-cran-plogr
  25. devel/R-cran-plyr
  26. devel/R-cran-prettyunits
  27. devel/R-cran-progress
  28. devel/R-cran-randomForest
  29. devel/R-cran-reshape
  30. devel/R-cran-reshape2
  31. devel/R-cran-tibble
  32. devel/R-cran-tidyr
  33. devel/R-cran-timechange
  34. devel/R-cran-tzdb
  35. devel/R-cran-vctrs
  36. devel/api-sanity-autotest
  37. devel/covtool
  38. devel/libcwd
  39. devel/lockfree-malloc
  40. finance/R-cran-TTR
  41. finance/R-cran-gmm
  42. finance/R-cran-lmtest
  43. french/med
  44. graphics/R-cran-GDD
  45. graphics/R-cran-pROC
  46. graphics/R-cran-png
  47. graphics/R-cran-scales
  48. graphics/dataplot
  49. graphics/dcp2icc
  50. graphics/gimp-beautify-plugin
  51. graphics/pgplot
  52. graphics/sam2p
  53. graphics/xd3d
  54. irc/undernet-ircu
  55. lang/gambit-c
  56. lang/gcc
  57. lang/gnat12
  58. lang/micropython
  59. lang/p5-ExtUtils-F77
  60. mail/milter-callback
  61. math/R-cran-BsMD
  62. math/R-cran-KFAS
  63. math/R-cran-RSvgDevice
  64. math/R-cran-acepack
  65. math/R-cran-ash
  66. math/R-cran-conquer
  67. math/R-cran-dimRed
  68. math/R-cran-dplyr
  69. math/R-cran-exactRankTests
  70. math/R-cran-gpclib
  71. math/R-cran-haven
  72. math/R-cran-hdrcde
  73. math/R-cran-influenceR
  74. math/R-cran-irlba
  75. math/R-cran-isoband
  76. math/R-cran-lazyeval
  77. math/R-cran-mathjaxr
  78. math/R-cran-mcmc
  79. math/R-cran-nnls
  80. math/R-cran-partitions
  81. math/R-cran-prodlim
  82. math/R-cran-proxy
  83. math/R-cran-quadprog
  84. math/R-cran-sets
  85. math/R-cran-sm
  86. math/R-cran-truncnorm
  87. math/R-cran-units
  88. math/blacs
  89. math/blazeiterative
  90. math/cmlib
  91. math/combblas
  92. math/ddfun
  93. math/dqfun
  94. math/dune-curvedgeometry
  95. math/dune-foamgrid
  96. math/dune-functions
  97. math/dune-localfunctions
  98. math/dune-metagrid
  99. math/dune-multidomaingrid
  100. math/dune-spgrid
  101. math/dune-typetree
  102. math/eispack
  103. math/hptt
  104. math/lapackpp
  105. math/librsb
  106. math/libxsmm
  107. math/lidia
  108. math/math77
  109. math/miracl
  110. math/optpp
  111. math/py-pynleq2
  112. math/qd
  113. math/qxfun
  114. math/slatec
  115. math/spblas
  116. math/trlan
  117. misc/R-cran-mime
  118. misc/libemos
  119. misc/py-QSpectrumAnalyzer
  120. misc/thrill
  121. misc/veles
  122. net/charm
  123. net-mgmt/aircrack-ng
  124. science/R-cran-DCluster
  125. science/R-cran-bayesm
  126. science/R-cran-eco
  127. science/R-cran-etm
  128. science/R-cran-udunits2
  129. science/aircraft-datcom
  130. science/chimes-calculator
  131. science/dftd3
  132. science/dkh
  133. science/erd
  134. science/feff10
  135. science/fvcom
  136. science/fvcom-mpi
  137. science/gamess-us
  138. science/gdma
  139. science/h5z-zfp
  140. science/isaac-cfd
  141. science/kim-api
  142. science/libgridxc
  143. science/m-aneos
  144. science/mcstas-comps
  145. science/mdynamix
  146. science/namd
  147. science/openkim-models
  148. science/py-scikit-learn
  149. science/q
  150. science/qwalk
  151. science/silo
  152. science/xcrysden
  153. sysutils/arcconf
  154. sysutils/wiimms
  155. textproc/R-cran-bibtex
  156. textproc/R-cran-pystr
  157. textproc/R-cran-readr
  158. textproc/R-cran-vroom
  159. textproc/R-cran-xml2
  160. textproc/fox-xml
  161. textproc/senna
  162. www/R-cran-Rook
  163. www/cgicc
  164. www/kannel-sqlbox
  165. 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 2025Q1 for this port