To be clear this is for cross-development (ie. Aarch64 bare-metal target on an x86_64 host).
I've downloaded the latest toolchain from
ARM.
Extracting from the .tar.xz file results in bin, include, lib, libexec and share directories.
The files/directories in bin, include, lib/gcc and libexec have nice unique names and so fit in Slackware's /usr/bin, /usr/include, /usr/lib64 and /usr/libexec.
Code:
cp -r bin/ /usr/
cp -r include/ /usr/
cp -r libexec/ /usr/
cp -r lib/gcc /usr/lib64
But what should I do about
Code:
lib/bfd-plugins
and
share/
doc/
gcc-12.2.1/
gdb/
info/
man/
The files in these directories share names with pre-existing ones for the normal x86_64 GNU toolchain.
Should I just put the whole lot in /usr/local?