1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00
tldr/pages/common/gnatprep.md
2022-10-09 19:04:52 -03:00

394 B

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.

  • Use symbol definitions from a file:

gnatprep {{source_file}} {{target_file}} {{definitions_file}}

  • Specify symbol values in the command line:

gnatprep -D{{name}}={{value}} {{source_file}} {{target_file}}