sebastianotronto / nissy

A Rubik's cube solver and FMC assistant
39 stars 2 forks source link

Executable on linux should not end in .o #1

Closed rokicki closed 2 years ago

rokicki commented 2 years ago

The Linux executable should be just "nissy" and not "nissy.o".

sebastianotronto commented 2 years ago

Thanks for the tip. What's the reason behind this? From what I know the extension does not really matter. I am quite new to the whole makefile business and I have just imitated that of a random program I use.

rokicki commented 2 years ago

The extension matters a bit; many programs assume the extension to be meaningful. The .o extension is reserved for object files (unlinked with symbols unresolved).

Executable names should generally be "bare words" on linux, with no extension.

On Wed, Dec 1, 2021 at 12:53 AM Sebastiano Tronto @.***> wrote:

Thanks for the tip. What's the reason behind this? From what I know the extension does not really matter. I am quite new to the whole makefile business and I have just imitated that of a random program I use.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sebastianotronto/nissy/issues/1#issuecomment-983422707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOLS64EMSCUMHIGFCC3BDUOXPBVANCNFSM5JDT4BTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

sebastianotronto commented 2 years ago

Thanks for the explanation