Files
tldr/pages.zh/common/gnatmake.md

16 lines
425 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gnatmake
> 一个用于 Ada 程序的低级构建工具GNAT 工具链的一部分)。
> 更多信息:<https://gcc.gnu.org/onlinedocs/gnat_ugn/Building-with-gnatmake.html>。
- 编译可执行文件:
`gnatmake {{source_file1.adb source_file2.adb ...}}`
- 设置自定义可执行文件名称:
`gnatmake -o {{executable_name}} {{source_file.adb}}`
- [f]orce 重新编译:
`gnatmake -f {{source_file.adb}}`