unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: James Clarke <jrtc27@jrtc27.com>
Cc: 24180-done@debbugs.gnu.org
Subject: bug#24180: [PATCH] Recognize alpha as compilation target
Date: Mon, 08 Aug 2016 22:21:20 +0200	[thread overview]
Message-ID: <87r39zm2pr.fsf@pobox.com> (raw)
In-Reply-To: <20160807202422.70165-1-jrtc27@jrtc27.com> (James Clarke's message of "Sun, 7 Aug 2016 21:24:22 +0100")

Applied, cheers :)

On Sun 07 Aug 2016 22:24, James Clarke <jrtc27@jrtc27.com> writes:

> * module/system/base/target.scm (cpu-endianness): Add case for "alpha".
> (triplet-pointer-size): Likewise.
> ---
>  module/system/base/target.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/module/system/base/target.scm b/module/system/base/target.scm
> index d1f6cff..02febf8 100644
> --- a/module/system/base/target.scm
> +++ b/module/system/base/target.scm
> @@ -63,7 +63,7 @@
>        (cond ((string-match "^i[0-9]86$" cpu)
>               (endianness little))
>              ((member cpu '("x86_64" "ia64"
> -                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh4"))
> +                           "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh4" "alpha"))
>               (endianness little))
>              ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
>                             "mips" "mips64" "m68k" "s390x"))
> @@ -103,7 +103,7 @@
>            ((string-match "64$" cpu) 8)
>            ((string-match "64_?[lbe][lbe]$" cpu) 8)
>            ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh4")) 4)
> -          ((member cpu '("s390x")) 8)
> +          ((member cpu '("s390x" "alpha")) 8)
>            ((string-match "^arm.*" cpu) 4)
>            (else (error "unknown CPU word size" cpu)))))





      reply	other threads:[~2016-08-08 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-07 20:24 bug#24180: [PATCH] Recognize alpha as compilation target James Clarke
2016-08-08 20:21 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r39zm2pr.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=24180-done@debbugs.gnu.org \
    --cc=jrtc27@jrtc27.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).