Advertisement
justin_hanekom

Ada gnatmake switches

Feb 1st, 2025
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Switches to gnatmake are:
  2. #   -o             - generated object file name
  3. #   -fstack-check  - activates stack checking
  4. #   -funroll-loops - perform loop unrolling optimization
  5. #   -g             - add debugging information
  6. #   -gnat2012      - enforce Ada 2012 restrictions
  7. #   -gnata         - assertions enabled
  8. #   -gnatE         - full dynamic elaboration checks
  9. #   -gnatF         - external names are folded to all uppercase
  10. #   -gnatn         - activate inlining for subroutines with pragma inline
  11. #   -gnato         - enable numeric overflow checking
  12. #   -gnatwae       - turn on most warnings and treat warnings as errors
  13. #   -gnaty         - enable built-in style checks
  14. #   -i             - new object files created in the same dir as the source
  15. #   -j4            - use multiple processors (4) while compiling
  16. #   -k             - continue compiling after errors
  17. #   -m             - perform minimal recompilation
  18. #   -s             - recompile if switches changed
  19. #   -C             - use mapping file
  20. #   -D dir         - put all object files and ALI files in dir
  21. #   -E             - store call stack exceptions
  22. #   -O             - control optimization level (2)
  23. #   -shared        - link with shared Ada library
  24. #   -static        - link with static Ada library
  25.  
Tags: ada gnat gnatmake
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement