[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:hardware:arm:gcc-10.x_aarch64_cross-compiler [2021/04/22 12:41 (UTC)] – [Aarch64 cross-compiler script code] updated build script to use gcc-10.3.0 exaga | howtos:hardware:arm:gcc-10.x_aarch64_cross-compiler [2021/10/01 09:26 (UTC)] (current) – [AArch64 cross-compiling 'HOWTO' example] removed superfluous text exaga | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== Slackware ARM current gcc-10.2.x armv8 arm64 aarch64 cross-compiler for the Raspberry Pi 4 ====== | + | ====== Slackware ARM current gcc-10.3.x armv8 arm64 aarch64 cross-compiler for the Raspberry Pi 4 ====== |
===== Preface ===== | ===== Preface ===== | ||
Line 10: | Line 10: | ||
===== Notes ===== | ===== Notes ===== | ||
- | Slackware ARM current was used on a Raspberry Pi 4 [4GB RAM] to build and install the gcc-10.2.0 aarch64-linux cross-compiler. | + | Slackware ARM current was used on a Raspberry Pi 4 [4GB RAM] to build and install the gcc-10.3.0 aarch64-linux cross-compiler. |
The Linux kernel source downloaded is from the Raspberry Pi Github repository: https:// | The Linux kernel source downloaded is from the Raspberry Pi Github repository: https:// | ||
Line 27: | Line 27: | ||
===== Aarch64 cross-compiler script code ===== | ===== Aarch64 cross-compiler script code ===== | ||
- | Download the ' | + | Download the ' |
- | Make the file executable using 'chmod +x SARPi64.SlackBuild-gcc-10.2-aarch64-cc.sh' | + | Make the file executable using 'chmod +x SARPi64.SlackBuild-gcc-10.3-aarch64-cc.sh' |
Refer to the commented top section of the script code for usage. | Refer to the commented top section of the script code for usage. | ||
Line 40: | Line 40: | ||
# Slackware ARM gcc-10.3.0 aarch64 cross-compiler for Raspberry Pi | # Slackware ARM gcc-10.3.0 aarch64 cross-compiler for Raspberry Pi | ||
# | # | ||
- | # SARPi64.SlackBuild-gcc-10.3.0-aarch64-cc [v3.0] - 2020-04-22 | + | # SARPi64.SlackBuild-gcc-10.3.0-aarch64-cc [v3.0] - 2021-04-22 |
# | # | ||
# 2020-12-29 by Exaga | # 2020-12-29 by Exaga | ||
Line 480: | Line 480: | ||
# | # | ||
- | # Compiler: aarch64-linux-gcc (GCC) 10.2.0 | + | # Compiler: aarch64-linux-gcc (GCC) 10.3.0 |
# | # | ||
CONFIG_CC_IS_GCC=y | CONFIG_CC_IS_GCC=y | ||
- | CONFIG_GCC_VERSION=100200 | + | CONFIG_GCC_VERSION=100300 |
root@slackware:/ | root@slackware:/ | ||
Line 501: | Line 501: | ||
<note warning> | <note warning> | ||
- | So with everything compiled and built, you just need to copy the ' | + | So with everything compiled and built, you just need to copy the ' |
- | <note important> | + | <note important> |
- | < | + | < |
root@slackware:/ | root@slackware:/ | ||
root@slackware:/ | root@slackware:/ |