commit:     abd77e713d4eb9f15b76889c6d354aad22271473
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 22:11:17 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 22:11:17 2017 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=abd77e71

add hppa64-* target support

This target builds only C compiler by default.
No glibc or linux headers as 64 userspace ABI
is not defined yet.
See https://parisc.wiki.kernel.org/index.php/Userspace64

Usage example:

$ crossdev -t hppa64-unknown-linux-gnu

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 crossdev | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/crossdev b/crossdev
index 3a3fdf5..7eca6fc 100755
--- a/crossdev
+++ b/crossdev
@@ -234,6 +234,13 @@ parse_target() {
                      MAKE_SYMLINK="yes"
                      WITH_DEF_HEADERS="no";;
 
+               # Has no glibc support yet (or even ABI defined). Can
+               # only compile linux kernel:
+               # https://parisc.wiki.kernel.org/index.php/Userspace64
+               hppa64*)
+                     STAGE_DEFAULT=${STAGE_C_ONLY}
+                     WITH_DEF_HEADERS="no";;
+
                # due to upstream lameness, build C/C++ at first glance
                *-cygwin)
                      GUSE_DISABLE_STAGE_1+=" -nocxx cxx";;

Reply via email to