Unverified Commit 317b1898 authored by Denis 'GNUtoo' Carikli's avatar Denis 'GNUtoo' Carikli
Browse files

gnu: Add armel support.



Debian supports (well) armv4t with their "armel" port.
So I reused configuration the flags from the Debian packages.
Signed-off-by: Denis 'GNUtoo' Carikli's avatarDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
parent fa0e50e5
......@@ -157,6 +157,7 @@ SYSTEM."
(define %cross-targets
'("mips64el-linux-gnu"
"arm-linux-gnueabi"
"arm-linux-gnueabihf"
"aarch64-linux-gnu"
"powerpc-linux-gnu"
......
......@@ -293,6 +293,7 @@ or false to signal an error."
;; See the 'SYSDEP_KNOWN_INTERPRETER_NAMES' cpp macro in libc.
(cond ((string=? system "x86_64-linux") "/lib/ld-linux-x86-64.so.2")
((string=? system "i686-linux") "/lib/ld-linux.so.2")
((string=? system "arm-linux") "/lib/ld-linux.so.3")
((string=? system "armhf-linux") "/lib/ld-linux-armhf.so.3")
((string=? system "mips64el-linux") "/lib/ld.so.1")
((string=? system "i586-gnu") "/lib/ld.so.1")
......
......@@ -71,6 +71,11 @@ where the OS part is overloaded to denote a specific ABI---into GCC
"--with-mode=thumb"
"--with-fpu=neon"))
((string-match "^arm.*-gnueabi$" target)
'("--with-arch=armv4t"
"--with-float=soft"
"--with-mode=thumb"))
((and (string-suffix? "-gnu" target)
(not (string-contains target "-linux")))
;; Cross-compilation of libcilkrts in GCC 5.5.0 to GNU/Hurd fails
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment