BSD Ports

lang/gnat12 12.3.0_1 MidnightBSD

GNAT Ada compiler

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
db588224cd
License
gpl2, gpl3
Categories
lang

Description

This is an Ada compiler, from GCC-12.

Since Ada support must be built by an Ada-capable compiler, only platforms for which a bootstrap compiler is available can build it.

It is based on release versions of the Free Software Foundation's GNU Compiler Collection. It uses the GCC Runtime Library Exception, so the resulting binaries have no licensing requirements. Binaries produced by the AUX compiler should be legally handled the same as binaries produced by any FSF compiler.

It offers continuous improvements to the Ada 2022 standard since GCC 11.

In the other systems

SystemPortVersion
MidnightBSDlang/gnat1212.3.0_1
FreeBSDlang/gnat1212.4.0_1
GhostBSDlang/gnat1212.4.0_1

Install

Binary package:

mport install gnat12

From mports:

cd /usr/mports/lang/gnat12 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gnat12>0:lang/gnat12

Dependencies

As this port's Makefile names them.

Library 4

Runtime 1

Build dependencies 4
Run dependencies 5

No port depends on this one.

Configuration

Options name: lang_gnat12

OptionDefaultDescription
ASSETSoffBuild an asset for future bootstrap on the target platform
GCC6AUXoffBootstrap from lang/gcc6-aux
NLSoff
PREVASSETonBootstrap from the previous asset (if available)
USES
bison gettext-runtime gmake iconv libtool localbase tar:xz
Service scripts
none

Files

Manual pages 10
  • cpp(1)
  • fsf-funding(7)
  • g++(1)
  • gcc(1)
  • gcov(1)
  • gcov-dump(1)
  • gcov-tool(1)
  • gfdl(7)
  • gpl(7)
  • lto-dump(1)
pkg-plist 6432
  • gnat12/bin/c++
  • gnat12/bin/cpp
  • gnat12/bin/g++
  • gnat12/bin/gcc-ar
  • gnat12/bin/gcc-nm
  • gnat12/bin/gcc-ranlib
  • gnat12/bin/gcc
  • gnat12/bin/gcov-dump
  • gnat12/bin/gcov-tool
  • gnat12/bin/gcov
  • gnat12/bin/gnat
  • gnat12/bin/gnatbind
  • gnat12/bin/gnatchop
  • gnat12/bin/gnatclean
  • gnat12/bin/gnatkr
  • gnat12/bin/gnatlink
  • gnat12/bin/gnatls
  • gnat12/bin/gnatmake
  • gnat12/bin/gnatname
  • gnat12/bin/gnatprep
  • gnat12/bin/lto-dump
  • gnat12/bin/-c++
  • gnat12/bin/-g++
  • gnat12/bin/-gcc-
  • gnat12/bin/-gcc-ar
  • gnat12/bin/-gcc-nm
  • gnat12/bin/-gcc-ranlib
  • gnat12/bin/-gcc
  • gnat12/include/c++/%%VER%%/algorithm
  • gnat12/include/c++/%%VER%%/any
  • gnat12/include/c++/%%VER%%/array
  • gnat12/include/c++/%%VER%%/atomic
  • gnat12/include/c++/%%VER%%/backward/auto_ptr.h
  • gnat12/include/c++/%%VER%%/backward/backward_warning.h
  • gnat12/include/c++/%%VER%%/backward/binders.h
  • gnat12/include/c++/%%VER%%/backward/hash_fun.h
  • gnat12/include/c++/%%VER%%/backward/hash_map
  • gnat12/include/c++/%%VER%%/backward/hash_set
  • gnat12/include/c++/%%VER%%/backward/hashtable.h
  • gnat12/include/c++/%%VER%%/backward/strstream
  • gnat12/include/c++/%%VER%%/barrier
  • gnat12/include/c++/%%VER%%/bit
  • gnat12/include/c++/%%VER%%/bits/algorithmfwd.h
  • gnat12/include/c++/%%VER%%/bits/align.h
  • gnat12/include/c++/%%VER%%/bits/alloc_traits.h
  • gnat12/include/c++/%%VER%%/bits/allocated_ptr.h
  • gnat12/include/c++/%%VER%%/bits/allocator.h
  • gnat12/include/c++/%%VER%%/bits/atomic_base.h
  • gnat12/include/c++/%%VER%%/bits/atomic_futex.h
  • gnat12/include/c++/%%VER%%/bits/atomic_lockfree_defines.h
  • gnat12/include/c++/%%VER%%/bits/atomic_timed_wait.h
  • gnat12/include/c++/%%VER%%/bits/atomic_wait.h
  • gnat12/include/c++/%%VER%%/bits/basic_ios.h
  • gnat12/include/c++/%%VER%%/bits/basic_ios.tcc
  • gnat12/include/c++/%%VER%%/bits/basic_string.h
  • gnat12/include/c++/%%VER%%/bits/basic_string.tcc
  • gnat12/include/c++/%%VER%%/bits/boost_concept_check.h
  • gnat12/include/c++/%%VER%%/bits/c++0x_warning.h
  • gnat12/include/c++/%%VER%%/bits/char_traits.h
  • gnat12/include/c++/%%VER%%/bits/charconv.h
  • gnat12/include/c++/%%VER%%/bits/chrono.h
  • gnat12/include/c++/%%VER%%/bits/codecvt.h
  • gnat12/include/c++/%%VER%%/bits/concept_check.h
  • gnat12/include/c++/%%VER%%/bits/cow_string.h
  • gnat12/include/c++/%%VER%%/bits/cpp_type_traits.h
  • gnat12/include/c++/%%VER%%/bits/cxxabi_forced.h
  • gnat12/include/c++/%%VER%%/bits/cxxabi_init_exception.h
  • gnat12/include/c++/%%VER%%/bits/deque.tcc
  • gnat12/include/c++/%%VER%%/bits/enable_special_members.h
  • gnat12/include/c++/%%VER%%/bits/erase_if.h
  • gnat12/include/c++/%%VER%%/bits/exception.h
  • gnat12/include/c++/%%VER%%/bits/exception_defines.h
  • gnat12/include/c++/%%VER%%/bits/exception_ptr.h
  • gnat12/include/c++/%%VER%%/bits/forward_list.h
  • gnat12/include/c++/%%VER%%/bits/forward_list.tcc
  • gnat12/include/c++/%%VER%%/bits/fs_dir.h
  • gnat12/include/c++/%%VER%%/bits/fs_fwd.h
  • gnat12/include/c++/%%VER%%/bits/fs_ops.h
  • gnat12/include/c++/%%VER%%/bits/fs_path.h
  • gnat12/include/c++/%%VER%%/bits/fstream.tcc
  • gnat12/include/c++/%%VER%%/bits/functexcept.h
  • gnat12/include/c++/%%VER%%/bits/functional_hash.h
  • gnat12/include/c++/%%VER%%/bits/gslice.h
  • gnat12/include/c++/%%VER%%/bits/gslice_array.h
  • gnat12/include/c++/%%VER%%/bits/hash_bytes.h
  • gnat12/include/c++/%%VER%%/bits/hashtable.h
  • gnat12/include/c++/%%VER%%/bits/hashtable_policy.h
  • gnat12/include/c++/%%VER%%/bits/indirect_array.h
  • gnat12/include/c++/%%VER%%/bits/invoke.h
  • gnat12/include/c++/%%VER%%/bits/ios_base.h
  • gnat12/include/c++/%%VER%%/bits/istream.tcc
  • gnat12/include/c++/%%VER%%/bits/iterator_concepts.h
  • gnat12/include/c++/%%VER%%/bits/list.tcc
  • gnat12/include/c++/%%VER%%/bits/locale_classes.h
  • gnat12/include/c++/%%VER%%/bits/locale_classes.tcc
  • gnat12/include/c++/%%VER%%/bits/locale_conv.h
  • gnat12/include/c++/%%VER%%/bits/locale_facets.h
  • gnat12/include/c++/%%VER%%/bits/locale_facets.tcc
  • gnat12/include/c++/%%VER%%/bits/locale_facets_nonio.h
  • gnat12/include/c++/%%VER%%/bits/locale_facets_nonio.tcc

The first 100 are listed.

distinfo 10
FileSizeSHA256
gcc-12.3.0.tar.xz8.5491976e+07949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
gnat-aarch64-freebsd.13-12.2.0_6.tar.xz6.335982e+075632d44659109b4487ac4f9658fab83eb88ceb1bef2e2171c8fc6426475154ec
gnat-aarch64-freebsd.14-12.2.0_6.tar.xz6.3563568e+079de5e4959af90cea8ddcb3e3bea3d1e9146235abbca28cb1e662c9368e9596db
gnat-aarch64-freebsd.15-12.2.0_6.tar.xz6.355718e+07413cf6b63522c59600afb5ff75914aac113b90ce45537f28ac6586f100e2e094
gnat-i386-freebsd.13-12.2.0_6.tar.xz7.6782872e+0744b971d7cff0661d9858c343327f2920775b30136202d2307cb1e26cb9e2d3b2
gnat-i386-freebsd.14-12.2.0_6.tar.xz7.7319804e+07c5dd57060e2fa39112e2fa2a544c4c9a2646860bf4e77273362e9c2ec38ff455
gnat-i386-freebsd.15-12.2.0_6.tar.xz7.7128456e+07ae1dcdcc5bbf890b1be110e5457ded40fdbcb3e5e7ef811eaf367d5baa21f957
gnat-x86_64-freebsd.13-12.2.0_6.tar.xz9.0090772e+07c64422a1e9ce650da5d9e90c7cc228039e193c6b240875b673b116764bc457ad
gnat-x86_64-freebsd.14-12.2.0_6.tar.xz9.0319148e+07a02e07d8e00caf3975549cac6b86b08736b1d8d8eed1e0e385fe1752841d9757
gnat-x86_64-freebsd.15-12.2.0_6.tar.xz9.0213972e+07a486e0257eadcc1f90770df06d849978d070551b929f347e906030632374f6a2
Master sites 2
  • http://gcc.gnu.org/pub/gcc/releases/gcc-12.3.0/:gcc
  • FREEBSD_LOCAL/thierry:gnat

Commit history 1

DateCommitCreditsLog message
db588224cd Lucas Holt lang/gnat12: build as FreeBSD and fix the PLIST_SUB values
gcc's configure has no midnightbsd case, so _PLATFORM=${OPSYS:tl}${OSREL} gave a triplet it rejects outright: *** Configuration x86_64-portbld-midnightbsd4 not supported gmake[1]: *** [Makefile:4549: configure-gcc] Error 1 Use freebsd13.0, which is what lang/gcc12 does and what this port's own bootstrap assets (gnat-*-freebsd.13-*) already are. With the build fixed, packaging then failed because the architecture and multilib PLIST_SUB values were a single space rather than empty, so every entry using them gained a leading space: Could not stat .../usr/local/ gnat12/lib/gcc/.../adainclude/g-sse.ads Set AMD64, AARCH64, X86, 64BIT and LIB32 to "" for the enabled cases. Builds and packages here with MULTILIB on. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> …