@@ -20,6 +20,11 @@ optimize: 2
20
20
21
21
version: 3.10.3
22
22
23
+ #if Linux? [ defines: TO_LINUX ]
24
+ #if Windows? [ defines: TO_WINDOWS ]
25
+ #if OpenBSD? [ defines: TO_OPENBSD ]
26
+ #if FreeBSD? [ defines: TO_FREEBSD ]
27
+
23
28
target-windows: [
24
29
os: windows
25
30
sys: win32
@@ -906,48 +911,34 @@ arch-x64: [
906
911
define: _FILE_OFFSET_BITS=64
907
912
#if Linux? [
908
913
library: %dl
909
- defines: TO_LINUX_X64
910
914
defines: __LP64__ ; has long (integer) 64 bits
911
915
]
912
916
#if Windows? [
913
- defines: TO_WIN32_X64
914
917
defines: _WIN32
915
918
defines: __LLP64__ ; 64-bit, long (integer) has 32 bits and 'void *' is sizeof(long long)
916
919
]
917
920
#if macOS? [
918
- defines: TO_OSX_X64
919
921
defines: __LP64__ ; same like LLP64, but long (integer) has 64 bits instead of 32
920
922
]
921
- #if OpenBSD? [
922
- defines: TO_OPENBSD
923
- ]
924
- #if FreeBSD? [
925
- defines: TO_FREEBSD
926
- ]
927
923
]
928
924
arch-x86: [
929
925
arch: x86
930
- #if Linux? [
926
+ #if Windows? [ resource-options: "--target=pe-i386" ]
927
+ ]
928
+ arch-armv6: [
929
+ arch: armv6
930
+ #if linux? [
931
+ flag: "-marm"
932
+ flag: "-march=native" ;; expects, that the host system is arm32!
931
933
library: %dl
932
- defines: TO_LINUX_X86
933
- ]
934
- #if Windows? [
935
- resource-options: "--target=pe-i386"
936
- defines: TO_WIN32
937
- ]
938
- #if OpenBSD? [
939
- defines: TO_OPENBSD
940
- ]
941
- #if FreeBSD? [
942
- defines: TO_FREEBSD
943
934
]
944
935
]
945
- arch-arm32: [
946
- :arch-x86
947
- arch: arm32
948
- #if linux? [ flag: "-march=native" ] ;; expects, that the host system is arm32!
936
+ arch-armv7: [
937
+ :arch-armv6
938
+ arch: armv7
949
939
]
950
- arch-arm64: [
940
+
941
+ arch-arm64: [ ;= armv8
951
942
:arch-x64
952
943
arch: arm64
953
944
#if macOS? [ flag: "-arch arm64" ]
@@ -1000,7 +991,8 @@ make-exe: [
1000
991
]
1001
992
make-x86-exe: [:arch-x86 :make-exe ]
1002
993
make-x64-exe: [:arch-x64 :make-exe ]
1003
- make-arm32-exe: [:arch-arm32 :make-exe ]
994
+ make-armv6-exe: [:arch-armv6 :make-exe ]
995
+ make-armv7-exe: [:arch-armv7 :make-exe ]
1004
996
make-arm64-exe: [:arch-arm64 :make-exe ]
1005
997
1006
998
; for making Rebol as a shared library
@@ -1165,22 +1157,40 @@ eggs: [
1165
1157
:make-x64-exe
1166
1158
]
1167
1159
1168
- "Rebol/Base linux-arm32" [
1169
- name: %rebol3-base-linux-arm32
1160
+ "Rebol/Base linux-armv6" [
1161
+ name: %rebol3-base-linux-armv6
1162
+ :target-linux
1163
+ :make-armv6-exe
1164
+ ]
1165
+ "Rebol/Core linux-armv6" [
1166
+ name: %rebol3-core-linux-armv6
1167
+ :target-linux
1168
+ :include-rebol-core
1169
+ :make-armv6-exe
1170
+ ]
1171
+ "Rebol/Bulk linux-armv6" [
1172
+ name: %rebol3-bulk-linux-armv6
1173
+ :target-linux
1174
+ :include-rebol-bulk
1175
+ :make-armv6-exe
1176
+ ]
1177
+
1178
+ "Rebol/Base linux-armv7" [
1179
+ name: %rebol3-base-linux-armv7
1170
1180
:target-linux
1171
- :make-arm32 -exe
1181
+ :make-armv7 -exe
1172
1182
]
1173
- "Rebol/Core linux-arm32 " [
1174
- name: %rebol3-core-linux-arm32
1183
+ "Rebol/Core linux-armv7 " [
1184
+ name: %rebol3-core-linux-armv7
1175
1185
:target-linux
1176
1186
:include-rebol-core
1177
- :make-arm32 -exe
1187
+ :make-armv7 -exe
1178
1188
]
1179
- "Rebol/Bulk linux-arm32 " [
1180
- name: %rebol3-bulk-linux-arm32
1189
+ "Rebol/Bulk linux-armv7 " [
1190
+ name: %rebol3-bulk-linux-armv7
1181
1191
:target-linux
1182
1192
:include-rebol-bulk
1183
- :make-arm32 -exe
1193
+ :make-armv7 -exe
1184
1194
]
1185
1195
1186
1196
"Rebol/Base linux-arm64" [
0 commit comments