gnatlink --version (return code: 0)
GNATLINK 7.2.0
Copyright (C) 1996-2017, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gnatlink --help (return code: 0)
Usage: gnatlink switches mainprog.ali [non-Ada-objects] [linker-options]
mainprog.ali the ALI file of the main program
--version Display version and exit
--help Display usage and exit
-f Force object file list to be generated
-g Compile binder source file with debug information
-n Do not compile the binder source file
-P Process files for use by CodePeer
-R Do not use a run_path_option
-v Verbose mode
-v -v Very verbose mode
-o nam Use 'nam' as the name of the executable
-b target Compile the binder source to run on target
-Bdir Load compiler executables from dir
-Mmap Create map file map
-M Create map file mainprog.map
--GCC=comp Use comp as the compiler
--LINK=nam Use 'nam' for the linking rather than 'gcc-7'
[non-Ada-objects] list of non Ada object files
[linker-options] other options for the linker
Report bugs to report@adacore.com