raspberry:cross-platform-compile:crossbuild-essential-armhf
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| raspberry:cross-platform-compile:crossbuild-essential-armhf [2026/09/02 19:20] – oscar | raspberry:cross-platform-compile:crossbuild-essential-armhf [2026/09/06 19:07] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== crossbuild-essential-armhf ====== | ||
| - | ---- | ||
| - | `crossbuild-essential-armhf` is essentially a **convenience/ | ||
| - | |||
| - | ===== What is installed ===== | ||
| - | On Debian Bookworm, `crossbuild-essential-armhf` version 12.9 declares only these direct dependencies: | ||
| - | < | ||
| - | gcc-arm-linux-gnueabihf | ||
| - | g++-arm-linux-gnueabihf | ||
| - | dpkg-cross | ||
| - | </ | ||
| - | |||
| - | The meta-package itself is tiny. Those direct dependencies pull in the actual compiler, linker, target C library, headers and C++ runtime. The significant transitive packages on a clean Bookworm installation include: | ||
| - | |||
| - | < | ||
| - | gcc-12-arm-linux-gnueabihf | ||
| - | g++-12-arm-linux-gnueabihf | ||
| - | cpp-arm-linux-gnueabihf | ||
| - | cpp-12-arm-linux-gnueabihf | ||
| - | binutils-arm-linux-gnueabihf | ||
| - | |||
| - | libc6-armhf-cross | ||
| - | libc6-dev-armhf-cross | ||
| - | linux-libc-dev-armhf-cross | ||
| - | |||
| - | libgcc-s1-armhf-cross | ||
| - | libgcc-12-dev-armhf-cross | ||
| - | libstdc++6-armhf-cross | ||
| - | libstdc++-12-dev-armhf-cross | ||
| - | |||
| - | libasan8-armhf-cross | ||
| - | libatomic1-armhf-cross | ||
| - | libgomp1-armhf-cross | ||
| - | libubsan1-armhf-cross | ||
| - | </ | ||
| - | |||
| - | `dpkg-cross` also brings in Debian packaging support, including `dpkg-dev`, Perl modules and `libdebian-dpkgcross-perl`. The exact complete transaction depends on which packages are already installed. | ||
| - | |||
| - | Importantly, | ||
| - | |||
| - | < | ||
| - | libssl-dev: | ||
| - | libcurl4-openssl-dev: | ||
| - | libasound2-dev: | ||
| - | </ | ||
| - | |||
| - | Those must be installed separately through Debian multiarch or supplied by a target sysroot. Adding `armhf` as a foreign architecture is required for installing `:armhf` multiarch packages, but it is not required merely to install the cross-toolchain packages listed above. | ||
| - | |||
| - | ===== Check what would be installed ===== | ||
| - | To see exactly what APT would add on a particular Debian system without installing anything: | ||
| - | |||
| - | < | ||
| - | sudo apt update | ||
| - | sudo apt install --simulate crossbuild-essential-armhf | ||
| - | </ | ||
| - | |||
| - | To inspect the direct dependencies or recursively list dependencies: | ||
| - | |||
| - | < | ||
| - | apt-cache depends crossbuild-essential-armhf | ||
| - | |||
| - | apt-cache depends \ | ||
| - | --recurse \ | ||
| - | --no-recommends \ | ||
| - | --no-suggests \ | ||
| - | crossbuild-essential-armhf | ||
| - | </ | ||
raspberry/cross-platform-compile/crossbuild-essential-armhf.1788376835.txt.gz · Last modified: by oscar
