Re: [PATCH] * config.sub (psp): Recognize. * testsuite/config-sub.data: Add test case.

2020-06-17 Thread Ben Elliston
On Thu, Jun 18, 2020 at 02:51:26AM +0200, Carsten Teibes wrote:

> Adding this target for homebrew on an old platform (Sony PSP).  Let
> me know if there is anything that should better be done differently.

Where did you get the canonical triplet (that 'psp' is an alias of)
from?

Cheers, Ben


signature.asc
Description: PGP signature


[PATCH] * config.sub (psp): Recognize. * testsuite/config-sub.data: Add test case.

2020-06-17 Thread Carsten Teibes
---
Adding this target for homebrew on an old platform (Sony PSP).
Let me know if there is anything that should better be done differently.

 ChangeLog |  5 +
 config.sub| 12 +++-
 testsuite/config-sub.data |  1 +
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index cefbe03..13ab735 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-18  Carsten Teibes 
+
+   * config.sub (psp): Recognize.
+   * testsuite/config-sub.data: Add test case.
+
 2020-06-15  Jessica Clarke 
 
* config.guess (x86_64:Linux:*:*): Detect x32 ABI. This is
diff --git a/config.sub b/config.sub
index 973a298..0820805 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2020 Free Software Foundation, Inc.
 
-timestamp='2020-05-04'
+timestamp='2020-06-18'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -477,6 +477,10 @@ case $1 in
basic_machine=hppa-unknown
os=linux
;;
+   psp)
+   basic_machine=mipsallegrexel-sony
+   os=psp
+   ;;
pw32)
basic_machine=i586-unknown
os=pw32
@@ -1138,6 +1142,10 @@ case $cpu-$vendor in
cpu=nsx
vendor=tandem
;;
+   mipsallegrexel-sony)
+   cpu=mipsallegrexel
+   vendor=sony
+   ;;
s390-*)
cpu=s390
vendor=ibm
@@ -1507,6 +1515,8 @@ case $os in
;;
ios)
;;
+   psp)
+   ;;
none)
;;
*-eabi)
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index cdf787d..8aedd3f 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -549,6 +549,7 @@ ppc 
powerpc-unknown-none
 pru-elfpru-unknown-elf
 prupru-unknown-elf
 ps2i386-ibm-aix
+pspmipsallegrexel-sony-psp
 pw32   i586-unknown-pw32
 pyramidpyramid-unknown-none
 rdos32 i386-pc-rdos
-- 
2.26.2




Re: FYI only: Build Error for Nagios Plugin under Kali Linux

2020-06-17 Thread Ben Elliston
On Wed, Jun 17, 2020 at 01:19:58PM -0500, Matha Goram wrote:

> This script, last modified 2009-11-20, has failed to recognize
> the operating system you are using. It is advised that you
> download the most up to date version of the config scripts from
> 
>  
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
> and
>  
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

You should follow these instructions to upgrade to the latest version
of config.guess and config.sub. Copy these files into the Nagious
source tree, overwriting the existing ones.

Ben


signature.asc
Description: PGP signature