1 |
commit: abd77e713d4eb9f15b76889c6d354aad22271473 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 21 22:11:17 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 21 22:11:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=abd77e71 |
7 |
|
8 |
add hppa64-* target support |
9 |
|
10 |
This target builds only C compiler by default. |
11 |
No glibc or linux headers as 64 userspace ABI |
12 |
is not defined yet. |
13 |
See https://parisc.wiki.kernel.org/index.php/Userspace64 |
14 |
|
15 |
Usage example: |
16 |
|
17 |
$ crossdev -t hppa64-unknown-linux-gnu |
18 |
|
19 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
20 |
|
21 |
crossdev | 7 +++++++ |
22 |
1 file changed, 7 insertions(+) |
23 |
|
24 |
diff --git a/crossdev b/crossdev |
25 |
index 3a3fdf5..7eca6fc 100755 |
26 |
--- a/crossdev |
27 |
+++ b/crossdev |
28 |
@@ -234,6 +234,13 @@ parse_target() { |
29 |
MAKE_SYMLINK="yes" |
30 |
WITH_DEF_HEADERS="no";; |
31 |
|
32 |
+ # Has no glibc support yet (or even ABI defined). Can |
33 |
+ # only compile linux kernel: |
34 |
+ # https://parisc.wiki.kernel.org/index.php/Userspace64 |
35 |
+ hppa64*) |
36 |
+ STAGE_DEFAULT=${STAGE_C_ONLY} |
37 |
+ WITH_DEF_HEADERS="no";; |
38 |
+ |
39 |
# due to upstream lameness, build C/C++ at first glance |
40 |
*-cygwin) |
41 |
GUSE_DISABLE_STAGE_1+=" -nocxx cxx";; |