streaksu
ee6ea2f13b
config.guess: recognize ironclad OS
...
* config.guess (*:Ironclad:*:*): Recognize.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data (x86_64-unknown-ironclad): New entry.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2023-12-02 20:31:23 +00:00
Dmitry V. Levin
023274ab8d
testsuite: add tests for the aarch64c change
...
* testsuite/config-guess.data (aarch64c-unknown-freebsd14.0): New entry.
* testsuite/config-sub.data (aarch64c-freebsd14.0,
aarch64c-unknown-freebsd14.0): New entries.
2023-08-24 08:00:00 +00:00
Dmitry V. Levin
e4786449e1
config.guess: invoke "uname -p" from PATH for non-arm FreeBSD
...
Starting with commit afe1fa96bf32, "uname -p" from PATH is invoked in
case of FreeBSD on arm, while in other FreeBSD cases it was invoked
using a full pathname as "/usr/bin/uname -p". Fix this inconsistency
and invoke "uname -p" from PATH for all FreeBSD cases. This also allows
to test non-arm FreeBSD cases.
* config.guess (*:FreeBSD:*:*): Invoke "uname -p" from PATH.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data (x86_64-unknown-freebsd5.2,
i586-unknown-freebsd7.0): Reintroduce the tests removed by commit
68873f3c11c6.
2023-08-22 08:00:00 +00:00
Paul Iannetta
602766470c
Add KVX MPPA detection
...
* config.guess (kvx:Linux:*:*, kvx:cos:*:*, kvx:mbr:*:*): Recognize.
* config.sub (kvx): Recognize cpu.
(cos*, mbr*): Recognize os.
* testsuite/config-guess.data: Add tests for kvx targets.
* testsuite/config-sub.data: Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
2023-07-19 11:16:47 +00:00
Dmitry V. Levin
f992bcc082
testsuite: make config data sorted using "make sort"
...
* testsuite/config-guess.data: Make the data sorted.
2022-10-07 08:00:00 +00:00
Arsen Arsenović
9f9f9b0b13
config.guess: support running on Managarm systems
...
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
* config.guess (x86_64:[Mm]anagarm:*:*, i?86:[Mm]anagarm:*:*,
*:[Mm]anagarm:*:*): Recognize.
(timestamp): Update.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add tests for managarm targets.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2022-09-17 21:34:48 +00:00
Xiaotian Wu
20403c5701
Remove loongarchx32
...
loongarchx32 doesn't exist in the real world, so we can delete it.
* config.guess (loongarchx32:Linux:*:*): Remove.
(timestamp): Update.
* config.sub (loongarchx32): Remove.
(timestamp): Update.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data (loongarchx32): Remove.
* testsuite/config-sub.data (loongarchx32, loongarchx32-elf,
loongarchx32-linux, loongarchx32-loongson-elf): Likewise.
Link: https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2022-08-01 08:05:29 +00:00
Alexander von Gluck IV
02ba26b218
config.guess: Update Haiku guesses
...
* config.guess (ppc:Haiku:*:*, *:Haiku:*:*): Recognize.
(timestamp): Update.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add more test cases for Haiku.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2022-05-25 20:43:13 +00:00
Bruno Haible
8a9de2bc05
testsuite: Add one more testcase.
...
* testsuite/config-guess.data: Add a test for i686-pc-linux-gnu.
2022-05-08 17:18:13 +00:00
Idan Horowitz
c179db1b6f
config.guess: recognize SerenityOS
...
* config.guess (*:SerenityOS:*:*): Recognize.
(timestamp): Update.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add test case for SerenityOS.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2022-01-09 21:53:25 +00:00
Jordi Sanfeliu
a013aac61e
Recognize Fiwix
...
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)
* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-10-27 14:35:57 +00:00
Vineet Gupta
45e181800a
Recognize arc32
...
This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
32-bit ARCv2 ISA)
| make check
| cd testsuite && bash config-guess.sh && rm uname
| PASS: config.guess checks (136 tests)
| cd testsuite && bash config-sub.sh
| PASS: config.sub checks (864 tests)
| PASS: config.sub idempotency checks (801 tests)
| PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.guess (arc32:Linux:*:*): Recognize.
* config.sub (arc32): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for arc32.
* testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-06-04 04:01:25 +00:00
Dmitry V. Levin
92fac9b5ce
testsuite: make config data sorted using "make sort"
...
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2021-05-05 20:00:00 +00:00
Dmitry V. Levin
daf828df3d
testsuite/config-guess.data: remove SecBSD test
...
Sadly, the test infrastructure is not ready for guesses based on the
output of "arch" yet.
* testsuite/config-guess.data: Remove SecBSD test.
2021-05-05 20:00:00 +00:00
Vineet Gupta
491e04557e
Recognize arc64
...
This paves way for setting up arc64 software ecosystem.
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (136 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (853 tests)
PASS: config.sub idempotency checks (790 tests)
PASS: config.sub canonicalise each config.guess testcase (136 tests)
* config.guess (arc64:Linux:*:*): Recognize.
* config.sub (arc64): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for arc64.
* testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-04-21 19:51:18 +00:00
Purple Rain
6c5532f345
config.guess: add SecBSD support
...
* config.guess (*:SecBSD:*:*): Recognize.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-04-16 22:26:32 +00:00
Dmitry V. Levin
277b4ed177
testsuite: make config data sorted using "make sort"
...
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2021-03-10 20:00:00 +00:00
Kalamatee
6faca61810
config.guess: update AROS system detection
...
* config.guess: Recognize *:AROS:*:*.
* doc/config.guess.1: Regenerate.
* testsuite/config-guess.data: Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2021-01-25 20:35:13 +00:00
Kito Cheng
8e0c6ffd5c
Recognize riscv32be and riscv64be
...
Recently RISC-V community got patches big-endian support for binutils,
and we'd like to accept that, however before accepting that I think it
would be better to upstream config.sub and config.guess change here :)
It's my check result on Ubuntu 18.04:
$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (131 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (830 tests)
PASS: config.sub idempotency checks (767 tests)
PASS: config.sub canonicalise each config.guess testcase (131 tests)
* config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
* config.sub (riscv32be, riscv64be): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
* testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2020-12-31 07:27:52 +00:00
Xiaotian Wu
c8ddc8472f
Recognize loongarch32, loongarch64, and loongarchx32
...
* config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
loongarchx32:Linux:*:*): Recognize.
* config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add test cases for loongarch32,
loongarch64, and loongarchx32.
* testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
Add test cases.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2020-12-22 08:00:00 +00:00
Dmitry V. Levin
05734c3b30
testsuite: make config data sorted using "make sort"
...
* Makefile (sort): Add dependencies, sort in C locale using "sort -u".
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2020-12-22 08:00:00 +00:00
Rin Okuyama
1c43980155
* config.guess (*:NetBSD:*:*): Handle aarch64eb.
...
* testsuite/config-guess.data: Add test cases.
Signed-off-by: Ben Elliston <bje@gnu.org>
2020-10-22 00:05:38 +11:00
Ben Elliston
2593751ef2
* config.guess (arm64:Darwin:*:*): Recognise.
...
* testsuite/config-guess.data: Add a test case.
2020-07-12 18:21:33 +10:00
Ben Elliston
1912ca5041
* testsuite/config-guess.data: Sort.
...
* testsuite/config-sub.data: Likewise.
2019-09-12 20:45:58 +10:00
Daniel Bittman
fadac5a0ed
* config.guess (*:Twizzler:*:*): New.
...
* config.sub (-twizzler*): New.
* testsuite/config-guess.data: Add test cases.
* testsuite/config-sub.data: Ditto.
Signed-off-by: Ben Elliston <bje@gnu.org>
2019-09-12 09:56:40 +10:00
Ben Elliston
d3bfe62ac8
This change introduces a new test to config-sub.sh which runs every
...
config.guess expected triplet through config.sub so that we can check
that it is properly recognised. Sometimes, new triplets have been
added to config.guess without updating config.sub accordingly (eg,
Harris NightHawk machines running PowerUnix from the mid-1990s!)
* config.sub (case $os): Match nsk* and powerunix. Don't later
match nsk* and set os=nsk which removes the OS version number.
* testsuite/config-guess.data: Tweak Unleashed test case.
* testsuite/config-sub.sh (run_config_sub_with_guess_triplets):
New test.
2019-06-30 16:39:33 +10:00
Ben Elliston
f83dbaa146
* config.guess (*:OS108:*:*): Recognise new OS.
...
* testsuite/config-guess.data: Add a test case.
2019-06-10 23:36:57 +10:00
Ben Elliston
6fd2f9bf82
* Makefile (sort): New target.
...
* testsuite/config-guess.data: Sort.
* testsuite/config-sub.data: Likewise.
2019-06-04 09:48:27 +10:00
Ben Elliston
104ee6463c
* testsuite/config-guess.data: Add Darwin tests.
2019-05-28 15:30:53 +10:00
Ben Elliston
bad92f031d
Revert. Fix extraneous 'fi'.
2019-05-28 15:29:39 +10:00
Ben Elliston
0e33211d96
* testsuite/config-guess.data: Add Darwin tests.
2019-05-28 13:49:39 +10:00
Ben Elliston
42ddb154fe
* testsuite/config-guess.data: Add more test cases.
2019-01-03 15:11:46 +11:00
Ben Elliston
d49c7de1e8
* testsuite/config-guess.data: Add a test for ARM Linux.
2019-01-03 11:21:21 +11:00
Ben Elliston
a58cd1856a
* testsuite/config-guess.data: Add new tests for Solaris on i386
...
and SPARC machines.
2019-01-03 11:13:53 +11:00
Ben Elliston
d0452dbb43
* testsuite/config-guess.sh (run_config_guess): Set CC_FOR_BUILD
...
to no_compiler_found so that we don't erroneously use the compiler
of the host running the testsuite.
* testsuite/config-guess.data: Adjust ARM FreeBSD expected output.
2019-01-03 11:09:27 +11:00
Lauri Tirkkonen
dbd9d383bd
* config.guess (*:Unleashed:*:*): New.
...
* config.sub (unleashed*): New.
* testsuite/config-sub.data: Add a test case.
* testsuite/config-guess.data: Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-11-26 22:04:32 +11:00
Ben Elliston
2fa97a8a0e
* config.guess (amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set
...
manufacturer to 'pc'.
* testsuite/config-guess.data: Update test cases.
2018-10-26 11:21:25 +11:00
Mikaël Urankar
afe1fa96bf
* config.guess (arm*:FreeBSD:*:*): New.
...
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-07-18 22:38:44 +10:00
Ben Elliston
5c3c4a9647
* testsuite/config-guess.data: Sort.
2018-07-15 10:50:45 +10:00
Ben Elliston
9f9b3d365a
* testsuite/config-guess.sh: Strip off spaces around pipe
...
delimiter as test data is read in.
(run_config_guess): Set IFS to '|'.
* testsuite/config-guess.data: Use ' | ' as the delimeter.
2018-07-13 22:20:28 +10:00
Sevan Janiyan
0388bdcb11
* config.guess (*:Minix:*:*): Accept any machine.
...
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-06-26 11:54:17 +10:00
Ben Elliston
ae1acbbff7
* testsuite/config-guess.data: Sort.
...
* testsuite/config-sub.data: Likewise.
2018-01-13 21:11:12 +11:00
Randall S. Becker
a69a8a3d51
* config.guess (NSV-*:NONSTOP_KERNEL:*:*): New.
...
* config.sub (nsv-tandem): New.
* testsuite/config-guess.data: Add a test case.
* testsuite/config-sub.data: Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-01-11 10:00:52 +11:00
Henry Bent
c9092d0534
* config.guess (mips:OSF1:*:*): Recognise.
...
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2017-12-17 14:03:06 +11:00
Ben Elliston
3e66531146
Reported by Nelson H. F. Beebe:
...
* config.guess (*:MidnightBSD:*:*): Recognise.
* testsuite/config-guess.data: Add a test case.
2017-11-07 14:14:17 +11:00
Ben Elliston
554e3feb15
* config.sub (maybe_os): Remove -windowsnt*.
...
* config.guess (Alpha\ *:Windows_NT*:*): Remove obsolete case.
(21064:Windows_NT:50:3): Likewise.
(i*:windows32*:*): Likewise.
([345]86:Windows_95:*, [345]86:Windows_98:*): Likewise.
([345]86:Windows_NT:*): Likewise.
(8664:Windows_NT:*): Likewise.
(i*:Windows_NT*:* | Pentium*:Windows_NT*:*): Likewise.
(p*:CYGWIN*:*): Likewise.
* testsuite/config-guess.data: Remove relevant test cases.
2017-09-12 11:52:17 +10:00
Ben Elliston
c268e85591
* testsuite/config-guess.data: Sort.
2017-08-26 20:32:22 +10:00
Ian Douglas Scott
636f39d3a3
* config.guess (*:Redox:*:*): New.
...
* testsuite/config-guess.data: Add a test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2017-08-08 18:54:55 +10:00
Ben Elliston
281c61b32f
* config.guess (NSR-*:NONSTOP_KERNEL:*:*): Match suffix with *.
...
(NEO-*:NONSTOP_KERNEL:*:*): Likewise.
* testsuite/config-guess.data: Add test cases.
2017-05-11 20:36:27 +10:00
Ben Elliston
53c0fcc404
Reported by Hugues Lefebvre <hugues.lefebvre@lusis.fr>.
...
* config.guess (NSX-*:NONSTOP_KERNEL:*:*): Some L-SERIES systems
now have more than one letter in the suffix, so match with *.
* testsuite/config-guess.data: Add a test case.
2017-05-11 09:50:56 +10:00