Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/crossdev:master commit in: /
Date: Tue, 21 Nov 2017 23:01:19
Message-Id: 1511305179.97efbe3a9a544e4e295285cf17928ffd62031dfc.slyfox@gentoo
1 commit: 97efbe3a9a544e4e295285cf17928ffd62031dfc
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 21 22:59:39 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 21 22:59:39 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=97efbe3a
7
8 Add 'mmix' target, bug #609602
9
10 Add basic support for MMIX by Matthias Maier.
11
12 Usage example:
13
14 $ crossdev -t mmix
15
16 Closes: https://bugs.gentoo.org/609602
17 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
18
19 crossdev | 8 ++++++++
20 1 file changed, 8 insertions(+)
21
22 diff --git a/crossdev b/crossdev
23 index 7eca6fc..2d937d1 100755
24 --- a/crossdev
25 +++ b/crossdev
26 @@ -139,6 +139,7 @@ parse_target() {
27 - h8300 http://h8300-hms.sourceforge.net/
28 - mingw32 http://www.mingw.org/
29 - mingw64 http://mingw-w64.sourceforge.net/
30 + - mmix http://www-cs-faculty.stanford.edu/~knuth/mmix.html
31 - msp430 http://www.ti.com/msp430
32 - nds32 http://github.com/nds32
33 - nios2 http://www.altera.com/products/ip/processors/nios2/ni2-index.html
34 @@ -241,6 +242,13 @@ parse_target() {
35 STAGE_DEFAULT=${STAGE_C_ONLY}
36 WITH_DEF_HEADERS="no";;
37
38 + # added in bug #609602
39 + mmix*)
40 + KPKG="[none]"
41 + LPKG="newlib"
42 + STAGE_DEFAULT=${STAGE_LIBC}
43 + WITH_DEF_HEADERS="no";;
44 +
45 # due to upstream lameness, build C/C++ at first glance
46 *-cygwin)
47 GUSE_DISABLE_STAGE_1+=" -nocxx cxx";;