milieb.blogg.se

Msys2 ripgrep
Msys2 ripgrep













msys2 ripgrep
  1. Msys2 ripgrep android#
  2. Msys2 ripgrep windows#

You then seem to have decided that neither whether you can compile a program for it makes it a target, nor whether it can run that program makes it a target. I suspect you completely misunderstood what POSIX compliant meant as you then dived into runtime which is a different thing. When I say I've written a Linux program, I mean that I've written a program that can be targeted to any Linux system and never that it is targeted to a GNU system. You don't have to include any GNU components in a program (I know because I've replaced it on mine), and if you do it right then you can still target multiple versions of Linux as they use the same system calls (assuming same architecture).

msys2 ripgrep

The programs I wrote for it not only compile and run on any Linux distribution, but compile and run on BSDs and MacOS without issue. I run a program compiled on Ubuntu on an Alpine system for an industrial system at work. Being flexible enough to replace parts with what you prefer is a good thing. The flexibility of GNU should be celebrated and highlighted. Sure, you can use a different (usually compatible via supporting the same X11 or Wayland protocols) graphical environment, but surely having a graphical environment makes GNU a better term for a graphical system than Linux, which doesn't have a user interface at all (not even a CLI shell). Right, but GNU has created multiple graphical frameworks / WMs (GNOME/GTK spawned from GNU, as well as GNUstep), while Linux has 0. If it's a GUI program, then you target the WM or display frameworks, so not necessarily GNU (could be QT). That doesn't mean it's the same operating system.

Msys2 ripgrep windows#

If you've written a POSIX compliant program then your target can be any *NIX system usually (sometimes even Windows via Cygwin and similar).Īnd if you've written a Win32 application you can even run it on GNU/Linux running WINE. If you're targeting Linux its highly unlikely that you're writing a user-facing (even CLI) application. One of them is demonstratably the same OS as Ubuntu, and the rest are not. The binary will work on only one of them.

Msys2 ripgrep android#

Write a C program and compile it on Ubuntu, and drop the executable on Fedora, Alpine, and Android x86_64. As a binary target (programs that people actually run), no, it's extremely common. It's ridiculously rare that a program needs to specifically target GNU.Īs a source target, yes.















Msys2 ripgrep