On Mon, Nov 23, 2026 at 2:47 AM Samuel Thibault <[email protected]> wrote:
> Sergey Bugaev, le jeu. 19 nov. 2026 17:21:48 +0300, a ecrit:
> > 2. Mixing "build" (e.g. x86_64-linux-gnu) and "host" (e.g.
> > aarch64-gnu) binaries in the same $PREFIX/bin directory is not great.
>
> Normally you'd get tooling prefix, so that there is no confusion, you'll
> have x86_64-linux-gnu-gcc vs aarch64-gnu-gcc etc.

But the binaries that glibc and Hurd install are unprefixed (for
instance, 'getent' or 'syncfs'), so once you add $PREFIX/bin to your
PATH, you're going to start inadvertently invoking those. Including
inside shell scripts like ./configure.

Sergey

Reply via email to