Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-20 Thread Peter Maydell
On Wed, 20 Mar 2024 at 14:38, Thomas Huth wrote: > > On 19/03/2024 14.12, Peter Maydell wrote: > > I think I would prefer as a structure: > > > > (1) suppress the "unrecognized host CPU" message if "$host_os" == "bogus" > > (2) do the "check the C compiler works" test as its own test immediately >

Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-20 Thread Thomas Huth
On 19/03/2024 14.12, Peter Maydell wrote: On Fri, 8 Mar 2024 at 06:01, Thomas Huth wrote: If you try to run the configure script on a system without a working C compiler, you get a very misleading error message: ERROR: Unrecognized host OS (uname -s reports 'Linux') We should rather tell t

Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-19 Thread Peter Maydell
On Fri, 8 Mar 2024 at 06:01, Thomas Huth wrote: > > If you try to run the configure script on a system without a working > C compiler, you get a very misleading error message: > > ERROR: Unrecognized host OS (uname -s reports 'Linux') > > We should rather tell the user that we were not able to us

Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-18 Thread Thomas Huth
On 08/03/2024 07.00, Thomas Huth wrote: If you try to run the configure script on a system without a working C compiler, you get a very misleading error message: ERROR: Unrecognized host OS (uname -s reports 'Linux') We should rather tell the user that we were not able to use the C compiler i

Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-08 Thread Thomas Huth
On 08/03/2024 12.26, Peter Maydell wrote: On Fri, 8 Mar 2024 at 06:01, Thomas Huth wrote: If you try to run the configure script on a system without a working C compiler, you get a very misleading error message: ERROR: Unrecognized host OS (uname -s reports 'Linux') We should rather tell t

Re: [PATCH] configure: Fix error message when C compiler is not working

2024-03-08 Thread Peter Maydell
On Fri, 8 Mar 2024 at 06:01, Thomas Huth wrote: > > If you try to run the configure script on a system without a working > C compiler, you get a very misleading error message: > > ERROR: Unrecognized host OS (uname -s reports 'Linux') > > We should rather tell the user that we were not able to us

[PATCH] configure: Fix error message when C compiler is not working

2024-03-07 Thread Thomas Huth
If you try to run the configure script on a system without a working C compiler, you get a very misleading error message: ERROR: Unrecognized host OS (uname -s reports 'Linux') We should rather tell the user that we were not able to use the C compiler instead, otherwise they will have a hard tim