Re: [PATCH 02/12] libtool.m4: Rename the --with-sysroot option to avoid conflict with gcc/binutils

Mike Frysinger <[email protected]> Mon, 15 Jan 2024 20:08:22 -0500
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <ZaXXBgzdyUF_4Vm2@vapier>
On 25 Oct 2021 15:33, Richard Purdie wrote:
> This patch renames the --with-sysroot option to --with-libtool-sysroot
> to avoid namespace conflict with binutils, gcc and other toolchain
> components since these componets also add that option to configure
> and this becomes confusing and conflicting otherwise.

we're talking like 3 projects ?  libtool is used & included in way more
projects than that.  it seems like --with-sysroot as a standard name to
propagate out into the wider ecosystem makes more sense.

i agree there's confusion between "use this path as a sysroot to compile
and link against" and "have the compile tools target this sysroot".  the
same problem exists with host selection which is why we have the build,
host, and target options.  sounds like we want names that can align with
these somehow.

--with-libtool-sysroot doesn't make sense as it isn't an internal libtool
setting, it's changing how executables are linked, and users (who run the
configure scripts) don't know or care about this "libtool" thing.
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWl1wYACgkQQWM7n+g3
9YGXrBAA3rBRafJRPBcHDUsiYysd3qCGKDUX7kx1b4xOpVF/JbRN09TshpKf8pcF
S4PqE5w/6OQEv0YXHrXHfzoryl3RIsvAPT5VBsoTkjcVjlivmm0Kaj/TPc3z9tQr
Lisl6mHhAS7Mzbbp+QQel9OtUhG2vs+Kdk30ISL3uwcrJ063gbca8IClaG5wTk9K
IS2ceGU64VTGPh7/Xr3Bhpz/v1jRcJJ2ywdqksrwzb+JF+/hs2zhukAWZLO4EUOG
auGk08YibXfXD/olhwlracwwM2kH56mZRs5wZbq6wC1u8GZd1Jd9yq0eu4VuM563
w7On09acHHAn7OULDITMOs4YBwLp2ZwmeYTULl5TA1+iAOH7oULzARCPdMvZIGXT
vJZIU7L+m7nXqV0xAF5Ua7xjGbMQvR0XjvQC3jMdRjA70ie1VxPy+Yxu0bH22qmm
iSR/NNyCYvFCZBRK+MkbjntfhRS71DmHqL6pA//06SFXzYHfDSpSo0Rt0nxW3/t+
yuSiI5SHcFJ7Fc12JEDd5RwmKaiz49LDT3YkzeSVK2HoGhcbE70ZT3ixO3riBOKP
WhRhIT3kOf6flZ8DOw1Ct9Zv/mu4UAmS7KmZY82JUO+RHseWoaOxM+ANUgEjL+EW
4YqXYfWTwrPJ/hyqgAyydC9HGKoOpz4YdffxDzLo6IZ7NaE6NGY=
=YKYv
-----END PGP SIGNATURE-----