一些编译器为什么要使用" a.out的"作为可执行文件的默认名称? [英] Why do some compilers use "a.out" as the default name for executables?

查看:200
本文介绍了一些编译器为什么要使用" a.out的"作为可执行文件的默认名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大多数UNIX C编译器在默认情况下的可执行文件链接到一个名为a.out的文件。为什么?这是一个书面的标准,或只是事实标准的行为?什么会打破,如果这些编译器只会产生错误信息(或使用不同的默认名称),而不是生产的a.out?

Most UNIX C compilers link executables by default to a file called "a.out". Why? Is this a written standard or just de-facto standard behavior? What would break if these compilers would just produce an error message (or use a different default name) instead of producing "a.out"?

推荐答案

a.out的代表汇编输出。结果
我认为这证明了为什么大多数编译器有这个名称为默认值。
更多信息这里

a.out stands for assembler output.
I think that justifies why most compilers have this name as default. More info here.

这篇关于一些编译器为什么要使用" a.out的"作为可执行文件的默认名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆