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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2023Q1
gcc12 GNU Compiler Collection 12
12.4.0_6 lang on this many watch lists=3 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_5Version 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: 2026-08-09 10:44:54
Commit Hash: cd7c885
People watching this port, also watch:: samba419, smartmontools, python311, tmux, libarchive
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:
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_6/catalog.mk
  3. /usr/local/share/licenses/gcc12-12.4.0_6/LICENSE
  4. /usr/local/share/licenses/gcc12-12.4.0_6/GPLv3
  5. /usr/local/share/licenses/gcc12-12.4.0_6/GPLv3RLE
  6. bin/x86_64-portbld-freebsd15.1-c++12
  7. bin/x86_64-portbld-freebsd15.1-g++12
  8. bin/x86_64-portbld-freebsd15.1-gcc12
  9. bin/x86_64-portbld-freebsd15.1-gcc-12.4.0
  10. bin/x86_64-portbld-freebsd15.1-gcc-ar12
  11. bin/x86_64-portbld-freebsd15.1-gcc-nm12
  12. bin/x86_64-portbld-freebsd15.1-gcc-ranlib12
  13. bin/x86_64-portbld-freebsd15.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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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_312.4.0_3n/an/an/an/an/an/a
FreeBSD:13:quarterly12.4.0_312.4.0_3n/an/an/an/an/an/a
FreeBSD:14:latest12.4.0_612.4.0_6-12.4.0_312.4.0_6---
FreeBSD:14:quarterly12.4.0_512.4.0_5-12.4.0_312.4.0_5-12.2.0_712.2.0_7
FreeBSD:15:latest12.4.0_612.4.0_6n/a12.4.0_3n/an/a12.2.0_812.3.0
FreeBSD:15:quarterly12.4.0_512.4.0_5n/a-n/an/a--
FreeBSD:16:latest12.4.0_612.4.0_6n/a-n/an/a--
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.42.r<5.43 : lang/perl5.42
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. benchmarks/himenobench
  2. comms/ems-flasher
  3. databases/gigabase
  4. devel/R-cran-ModelMetrics
  5. devel/R-cran-decor
  6. devel/R-cran-gtools
  7. devel/R-cran-multicool
Expand this list (80 items / 73 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/R-cran-plogr
  3. devel/R-cran-plyr
  4. devel/R-cran-prettyunits
  5. devel/R-cran-progress
  6. devel/api-sanity-autotest
  7. devel/covtool
  8. devel/libcwd
  9. devel/lockfree-malloc
  10. finance/R-cran-TTR
  11. finance/R-cran-lmtest
  12. french/med
  13. graphics/dcp2icc
  14. graphics/sam2p
  15. lang/gnat12
  16. lang/p5-ExtUtils-F77
  17. mail/milter-callback
  18. math/R-cran-BsMD
  19. math/R-cran-ash
  20. math/R-cran-conquer
  21. math/R-cran-gpclib
  22. math/R-cran-influenceR
  23. math/R-cran-mcmc
  24. math/R-cran-prodlim
  25. math/R-cran-sets
  26. math/R-cran-sm
  27. math/R-cran-truncnorm
  28. math/blazeiterative
  29. math/dqfun
  30. math/hptt
  31. math/libxsmm
  32. math/lidia
  33. math/optpp
  34. math/qd
  35. math/qxfun
  36. misc/libemos
  37. net/charm
  38. science/R-cran-DCluster
  39. science/chimes-calculator
  40. science/dftd3
  41. science/dkh
  42. science/erd
  43. science/fvcom
  44. science/fvcom-mpi
  45. science/gamess-us
  46. science/gdma
  47. science/h5z-zfp
  48. science/m-aneos
  49. science/mcstas-comps
  50. science/namd
  51. science/openkim-models
  52. textproc/R-cran-pystr
  53. textproc/fox-xml
  54. textproc/senna
  55. Collapse this list.

Deleted ports which required this port:

Expand this list of 20 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. www/cgicc*
  21. Collapse this list of deleted ports.
for Libraries

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. benchmarks/himenobench
  2. comms/ems-flasher
  3. databases/gigabase
  4. devel/R-cran-ModelMetrics
  5. devel/R-cran-decor
  6. devel/R-cran-gtools
  7. devel/R-cran-multicool
Expand this list (80 items / 73 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/R-cran-plogr
  3. devel/R-cran-plyr
  4. devel/R-cran-prettyunits
  5. devel/R-cran-progress
  6. devel/api-sanity-autotest
  7. devel/covtool
  8. devel/libcwd
  9. devel/lockfree-malloc
  10. finance/R-cran-TTR
  11. finance/R-cran-lmtest
  12. french/med
  13. graphics/dcp2icc
  14. graphics/sam2p
  15. lang/gnat12
  16. lang/p5-ExtUtils-F77
  17. mail/milter-callback
  18. math/R-cran-BsMD
  19. math/R-cran-ash
  20. math/R-cran-conquer
  21. math/R-cran-gpclib
  22. math/R-cran-influenceR
  23. math/R-cran-mcmc
  24. math/R-cran-prodlim
  25. math/R-cran-sets
  26. math/R-cran-sm
  27. math/R-cran-truncnorm
  28. math/blazeiterative
  29. math/dqfun
  30. math/hptt
  31. math/libxsmm
  32. math/lidia
  33. math/optpp
  34. math/qd
  35. math/qxfun
  36. misc/libemos
  37. net/charm
  38. science/R-cran-DCluster
  39. science/chimes-calculator
  40. science/dftd3
  41. science/dkh
  42. science/erd
  43. science/fvcom
  44. science/fvcom-mpi
  45. science/gamess-us
  46. science/gdma
  47. science/h5z-zfp
  48. science/m-aneos
  49. science/mcstas-comps
  50. science/namd
  51. science/openkim-models
  52. textproc/R-cran-pystr
  53. textproc/fox-xml
  54. textproc/senna
  55. Collapse this list.

Deleted ports which required this port:

Expand this list of 20 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. www/cgicc*
  21. 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_6: 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
FreshPorts was unable to extract/find any pkg message
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 2023Q1 for this port