this post was submitted on 10 Nov 2024
196 points (95.4% liked)

Programmer Humor

32479 readers
410 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
[–] mkwt 4 points 6 days 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.