On Sunday, 19 December 2021 at 03:27:50 UTC, Tejas wrote:

Oh wow, the executable gets named `stuff` if that's the first file passed... always thought it would name it the same name as that file which contained `main`

If the name of the file with `main` were used, you'd have to have a different default for libraries. Executables and libraries get the name of the first source file passed on the command line by default. This can be overridden with -of.

Reply via email to