Sujet : Re: What programs do you make sure are installed on a new Linux
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.miscDate : 17. Nov 2024, 20:36:30
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhdgju$piji$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Pan/0.160 (Toresk; )
On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:
Never underestimate the value of a few printf()s
sprinkled here and there (or log file writes if you're really headless).
I don’t really see that much difference. On *nix systems, service managers
can redirect stdout or stderr to logfiles anyway, so I can run my code
directly from a terminal for testing, and then in the background via a
service definition for production use, without having to make any code
changes.
I'm still a fan of makefiles.
Automated build scripts certainly. Ninja seems to be a common alternative
to make nowadays. But you need a higher-level wrapper to generate the
control files: e.g. Autotools, Meson, CMake etc.