3 ms·
Am I reading that Wikipedia link right, that the default name of compiled executables is a.out because they originally were emitted in that format?
by SilasX 8y ago
Am I reading that Wikipedia link right, that the default name of compiled executables is a.out because they originally were emitted in that format?
- Sniffnoy 8y agoNo, you've got it backwards. The format is called that because it was the format of the a.out file.
- SilasX 8y agoSo they named the standard compiler output "a.out", for independent reasons, and when it came time to distinguish formats, they called the original standard format "a.out" just because that's what the file name always was?
- Sniffnoy 8y agoExactly. I mean, I don't know the exact history of when the name "a.out" got transferred to the format, but I have to assume that it wasn't until there was something to contrast it with.