Skip to content

Commit

Permalink
Merge pull request #39 from Oldes/master
Browse files Browse the repository at this point in the history
Build: cross-compilation targets for RaspberryPi arm64 (aarch64)
  • Loading branch information
Oldes committed Apr 24, 2023
2 parents 1c05f15 + c8e3eb3 commit eefb955
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion make/rebol3.nest
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,15 @@ target-haiku: [
library: %/usr/arm-linux-gnueabihf/lib/
:target-linux
arch: armhf
]
]
cross-linux-arm64: [
;- requires: sudo apt-get install gcc-aarch64-linux-gnu
compiler: %/usr/bin/aarch64-linux-gnu-gcc
library: %/usr/aarch64-linux-gnu/lib/
:target-linux
:arch-x64
arch: arm64
]
]

core-files: [
Expand Down Expand Up @@ -1369,6 +1377,24 @@ eggs: [
:cross-linux-armhf
:make-exe
]
;@@ sudo apt-get install gcc-aarch64-linux-gnu
"Cross-compile Rebol/Base for RaspberryPi arm64" [
name: %rebol3-base-linux-arm64
:cross-linux-arm64
:make-exe
]
"Cross-compile Rebol/Core for RaspberryPi arm64" [
name: %rebol3-core-linux-arm64
:include-rebol-core
:cross-linux-arm64
:make-exe
]
"Cross-compile Rebol/Bulk for RaspberryPi arm64" [
name: %rebol3-bulk-linux-arm64
:include-rebol-bulk
:cross-linux-arm64
:make-exe
]
]
#if macOS? [
"Rebol/Base macos-x64" [
Expand Down

0 comments on commit eefb955

Please sign in to comment.