The new Slackware ARM AIO installed nicely on my RPi4 (thanks Stuart!)
I'd like to develop my bare-metal OS, and port some ARM32 stuff across (to run under Slackware ARM64).
I'm really more of a bare-metal/assembly code guy, so I just wanted to check what the best way to install multiple toolchains is...
Do I just cp -r the various untar'd downloads from ARM to /usr ?
Basically, is there a standard, simple, sensible way to do this -- or do I need to consider all the files/paths individually and check for identicalness (given all are the same 12.2.1 version from ARM)?
The libraries obviously differ, but shouldn't the binaries (ie. gcc ar as ld gdb nm objcopy etc.) be identical? I mean, they all *run* on Slackware ARM64 -- they're just supposed to produce different output (which they can do using flags...)
Code:
arm-gnu-toolchain-12.2.rel1-aarch64-aarch64-none-elf.tar.xz
arm-gnu-toolchain-12.2.rel1-aarch64-arm-none-linux-gnueabihf.tar.xz
E.g.
Code:
new-arm32/share/gcc-12.2.1/python/libstdcxx/v6/
/usr/share/gcc-12.2.0/python/libstdcxx/v6/
seem identical (ok, gcc-12.2.1 rather than 12.2.0), and are stored in the same place.
while
Code:
new-arm32/libexec/gcc/arm-none-linux-gnueabihf/12.2.1/
/usr/libexec/gcc/aarch64-slackware-linux-gnu/12.2.0/
are nicely differentiated.
But
Code:
new-arm32/lib/gcc/arm-none-linux-gnueabihf/
/usr/lib64/gcc/aarch64-slackware-linux-gnu/
(lib -- not lib32)
Etc.