The closest I was able to find on StackOverflow is What are .S files?, in which no answerer addresses why we use .s
for assembly. (And .S
for preprocessor/macro assembly; and gcc -S
to produce assembly...)
(By "we," I mean basically the POSIX ecosystem. I understand that the .s
convention isn't universal. But the convention that does exist, must have originated somewhere.)
My wild guesses are:
.s
for "source," as opposed to.o
for "object." Seems to require a timeline where we had 8.3 filesystems before we had high-level languages..s
for aSsembler, because.a
was already occupied by Archive.
Anyone got an authoritative answer, or any anecdotal citations to establish a "not after" date?
.s
extensions in 1969..s
extensions, they’re mentioned e.g. in the B manpage.