this post was submitted on 10 Nov 2024
201 points (95.5% liked)

Programmer Humor

32710 readers
929 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] db2 1 points 1 month ago (1 children)

Support for the a.out format was deprecated in Linux kernel version 5.1, and support for the format was removed across the 5.18 and 5.19 kernel releases.

https://en.wikipedia.org/wiki/A.out

[โ€“] mkwt 4 points 1 month ago

For "reasons" GCC outputs "a.out" as the default file name, even if the output format is actually, ELF, PE, or whatever.

Override this behaviour with the -o option.