cs: support cross compile for Arm Linux
This commit is contained in:
parent
c54bfd246c
commit
8d96a758d0
|
@ -361,6 +361,12 @@ plain-install-upcased:
|
|||
$(STRIP_DEBUG) $(libpltdir)/MzStart.exe
|
||||
$(STRIP_DEBUG) $(libpltdir)/MrStart.exe
|
||||
$(MAKE) system-install
|
||||
$(MAKE) install-cross
|
||||
|
||||
# ----------------------------------------
|
||||
# Cross-compiled install
|
||||
|
||||
install-cross:
|
||||
$(MAKE) compile-xpatch.$(TARGET_MACH)
|
||||
$(MAKE) library-xpatch.$(TARGET_MACH)
|
||||
|
||||
|
@ -449,7 +455,7 @@ no-setup-install:
|
|||
echo done
|
||||
|
||||
plain-install@NOT_OSX@@NOT_MINGW@:
|
||||
$(MAKE) unix-install
|
||||
$(MAKE) unix-install@T_CROSS_MODE@
|
||||
|
||||
plain-install@OSX@:
|
||||
$(MAKE) macos-install
|
||||
|
@ -489,6 +495,10 @@ unix-install:
|
|||
$(RACKET) -cu "$(srcdir)/../../bc/collects-path.rkt" "$(DESTDIR)$(libpltdir)/gracket$(CS_INSTALLED)" $(DESTDIR)@COLLECTS_PATH@ $(DESTDIR)@CONFIG_PATH@
|
||||
$(MAKE) unix-@INSTALL_LIBS_ENABLE@-libs
|
||||
|
||||
unix-install-cross:
|
||||
$(MAKE) unix-install
|
||||
$(MAKE) install-cross
|
||||
|
||||
unix-install-libs:
|
||||
$(MAKE) unix-install-boot-files
|
||||
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
(machine-lookup '((ta6nt . "win32\\x86_64")
|
||||
(a6nt . "win32\\x86_64")
|
||||
(ti3nt . "win32\\i386")
|
||||
(i3nt . "win32\\i386"))
|
||||
(i3nt . "win32\\i386")
|
||||
(tarm32le . "arm-linux")
|
||||
(arm32le . "arm-linux")
|
||||
(tarm64le . "aarch64-linux")
|
||||
(arm64le . "aarch64-linux"))
|
||||
(bytes->string/utf-8 (path->bytes (system-library-subpath #f)))))
|
||||
|
||||
(define-values (ht)
|
||||
|
@ -34,7 +38,11 @@
|
|||
'word (machine-lookup '((ta6nt . 64)
|
||||
(a6nt . 64)
|
||||
(ti3nt . 32)
|
||||
(i3nt . 32))
|
||||
(i3nt . 32)
|
||||
(tarm32le . 32)
|
||||
(arm32le . 32)
|
||||
(tarm64le . 64)
|
||||
(arm64le . 64))
|
||||
(system-type 'word))
|
||||
'gc 'cs
|
||||
'vm 'chez-scheme
|
||||
|
|
Loading…
Reference in New Issue
Block a user