gnatprep

Preprocessor for Ada source code files (part of the GNAT toolchain). More information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Preprocessing-with-gnatprep.html>.

Install

All systems
curl cmd.cat/gnatprep.sh
Debian Debian
apt-get install gnat-4.6
Ubuntu
apt-get install gnat-4.8
Alpine
apk add gcc-gnat
Arch Arch Linux
pacman -S gcc-ada
image/svg+xml Kali Linux
apt-get install gnat-8
CentOS
yum install gcc-gnat
Fedora
dnf install gcc-gnat
Windows (WSL2)
sudo apt-get update sudo apt-get install gnat-4.8
Raspbian
apt-get install gnat-4.6
Docker
docker run cmd.cat/gnatprep gnatprep powered by Commando

Preprocessor for Ada source code files (part of the GNAT toolchain). More information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Preprocessing-with-gnatprep.html>.

  • Use symbol definitions from a file:
    gnatprep source_file target_file definitions_file
  • Specify symbol values in the command-line:
    gnatprep -Dname=value source_file target_file

© tl;dr; authors and contributors