On 2025.05.27 12:08, James Le Cuirot wrote: > I also intend to add another wrapper script generation function for > running executables while changing the root directory.
> +# Return the QEMU architecture name for the given target or CHOST. > This name is > +# used in qemu-user binary filenames, e.g. qemu-ppc64le. > +qemu_arch() { > + local target=${1:-${CHOST}} > + case ${target} in > + armeb*) echo armeb ;; > + arm*) echo arm ;; > + hppa*) echo hppa ;; > + i?86*) echo i386 ;; > + m68*) echo m68k ;; > + mips64el*-gnuabi64) echo mips64el ;; > + mips64el*-gnuabin32) echo mipsn32el ;; > + mips64*-gnuabi64) echo mips64 ;; > + mips64*-gnuabin32) echo mipsn32 ;; > + powerpc64le*) echo ppc64le ;; > + powerpc64*) echo ppc64 ;; > + powerpc*) echo ppc ;; > + *) echo "${target%%-*}" ;; > + esac > +} > + No arm64/aarch64 ? -- Regards, Roy Bamford (Neddyseagoon) a member of elections gentoo-ops forum-mods arm64
pgpej3EbxtmG9.pgp
Description: PGP signature