Description:GNAT Ada Compiler - GPL version
  • + - stable
  • ~ - unstable
  • M - hardmask
alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86
2021-r4 - + - - - - - - - - - - +

USE flags

  • ada - Build the ADA language (GNAT) frontend
  • bootstrap - Used to bootstrap gnat-gpl
  • cet - Enable support for Intel Control Flow Enforcement Technology (CET)
  • cxx - Build support for C++ (bindings, extra libraries, code generation, ...)
  • d - Enable support for the D programming language
  • debug - Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
  • default-stack-clash-protection - Build packages with stack clash protection on by default
  • default-znow - Request full relocation on start from by default
  • doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • fixed-point - Enable fixed-point arithmetic support for MIPS targets in gcc (Warning: significantly increases compile time!)
  • fortran - Add support for fortran
  • go - Build the GCC Go language frontend.
  • graphite - Add support for the framework for loop optimizations based on a polyhedral intermediate representation
  • hardened - Activate default security enhancements for toolchain (gcc, glibc, binutils)
  • jit - Enable just-in-time compilation for improved performance. May prevent use of some PaX memory protection features in Gentoo Hardened.
  • libssp - Build SSP support into a dedicated library rather than use the code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)
  • lto - Build using Link Time Optimizations (LTO)
  • modula2
  • multilib - On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
  • nls - Add Native Language Support (using gettext - GNU locale utilities)
  • nptl - Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
  • objc - Build support for the Objective C code language
  • objc++ - Build support for the Objective C++ language
  • objc-gc - Build support for the Objective C code language Garbage Collector
  • openmp - Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
  • pch - Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only)
  • pgo - Build GCC using Profile Guided Optimization (PGO)
  • pie - Build programs as Position Independent Executables (a security hardening technique)
  • rust - Build support for the Rust language, installs gccrs.
  • sanitize - Build support for various sanitizer functions (ASAN/TSAN/etc...)
  • ssp - Build packages with stack smashing protector on by default
  • systemtap - enable systemtap static probe points
  • test - Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • vanilla - Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically
  • vtv - Build support for virtual table verification (a C++ hardening feature)
  • zstd - Enable support for ZSTD compression

Also available in: Atom

Thank you!