Do we need FreeBSD's minor version in gcc and binutils paths?

Li-Wen Hsu lwhsu at freebsd.org
Thu Jul 5 15:44:05 UTC 2018


For example, currently packages of 11.x are built on 11.1 so
aarch64-gcc installs /usr/local/bin/aarch64-unknown-freebsd11.1-gcc
and aarch64-binutils install /usr/local/aarch64-unknown-freebsd11.1/bin/ld

This is a bit weird to see these on a 11.2 system, also causes some
problem while testing alone with local-built toolchains.

Does it make sense to strip the minor version in the paths?
i.e. change to something like /usr/local/bin/aarch64-unknown-freebsd11-gcc

I think this should be fine since we guarantee ABI stable in a stable branch.

Li-Wen

-- 
Li-Wen Hsu <lwhsu at FreeBSD.org>
https://lwhsu.org


More information about the freebsd-toolchain mailing list