If I remember right, in buster I installed the crossbuild-essential-armhf , binutils-arm-linux-gnueabihf and I was good to go.
giving the right prefix to autotools or whatsoever took the right toolchain and produced wanted binaries.
also I could verify with
arm-linux-<TAB> which of the toolchains I had installed
bullseye does have some more packages addressing cross-compiling and I try to figure out how I have to use them
I've got
Code: Select all
ii gcc 4:10.2.1-1 amd64 GNU C compiler
ii gcc-10 10.2.1-6 amd64 GNU C compiler
ii gcc-10-arm-linux-gnueabihf 10.2.1-6cross1 amd64 GNU C compiler (cross compiler for armhf architecture)
ii gcc-10-arm-linux-gnueabihf-base:amd64 10.2.1-6cross1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-10-base:amd64 10.2.1-6 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-10-cross-base 10.2.1-6cross1 all GCC, the GNU Compiler Collection (library base package)
ii gcc-10-multilib 10.2.1-6 amd64 GNU C compiler (multilib support)
ii gcc-9-arm-linux-gnueabihf 9.3.0-22cross1 amd64 GNU C compiler (cross compiler for armhf architecture)
ii gcc-9-arm-linux-gnueabihf-base:amd64 9.3.0-22cross1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-9-base:amd64 9.3.0-22 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-9-cross-base
Which packages should be installed and what's the right way to use them?
thanks Ju