Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library

2022-11-26 Thread sotrdg sotrdg via Gcc
what you want is basically a ucrt multilib. However, neither glibc provides the same toggle too. i do not see a good reason for your request. Get Outlook for Android From: Pali Rohár Sent: Saturday, November 26, 2022 2:09:09 PM To: LIU Hao

gcc-12-20221126 is now available

2022-11-26 Thread GCC Administrator via Gcc
Snapshot gcc-12-20221126 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20221126/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library

2022-11-26 Thread Pali Rohár via Gcc
On Monday 21 November 2022 13:21:53 LIU Hao wrote: > 在 2022/11/20 23:06, Pali Rohár 写道: > > Thank you for explaining more details. My simple patch takes this in > > care and defines also __MSVCRT_VERSION__ to the correct value based on > > -mcrtdll parameter. > > Apologies for reading your message

Re: Problems when building NT kernel drivers with GCC / LD

2022-11-26 Thread Pali Rohár via Gcc
On Monday 21 November 2022 08:24:36 Jan Beulich wrote: > On 20.11.2022 14:10, Pali Rohár wrote: > > On Saturday 05 November 2022 02:26:52 Pali Rohár wrote: > >> On Saturday 05 November 2022 01:57:49 Pali Rohár wrote: > >>> On Monday 31 October 2022 10:55:59 Jan Beulich wrote: > On 30.10.2022 0

Re: -fanalyzer: Questions on C vs CPP + use of GCC attr's like malloc()/access()

2022-11-26 Thread David Malcolm via Gcc
On Sat, 2022-11-26 at 17:47 +, Jonathan Wakely wrote: > On Sat, 26 Nov 2022, 15:48 Gavin Ray, wrote: > > > I was using if (fd != -1) and was still getting the warning which > > confused > > me > > My suggestion was maybe to add the exact condition the fd analyzer > > is > > looking for to the

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
> On 26 Nov 2022, at 18:06, Paul Koning wrote: > > > >> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc wrote: >> >> The current statement (https://gcc.gnu.org/install/prerequisites.html) is: GNAT In order to build GNAT, the Ada compiler, you need a working GNAT

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc wrote: > > >>> The current statement (https://gcc.gnu.org/install/prerequisites.html) is: >>> >>> GNAT >>> In order to build GNAT, the Ada compiler, you need a working GNAT compiler >>> (GCC version 5.1 or later). >>> >>> so, if 5.1 i

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 11:52 AM, Iain Sandoe wrote: > > > >> On 26 Nov 2022, at 16:42, Arnaud Charlet wrote: >> >> The current statement (https://gcc.gnu.org/install/prerequisites.html) is: GNAT In order to build GNAT, the Ada compiler, you need a working GNAT compile

Re: -fanalyzer: Questions on C vs CPP + use of GCC attr's like malloc()/access()

2022-11-26 Thread Jonathan Wakely via Gcc
On Sat, 26 Nov 2022, 15:48 Gavin Ray, wrote: > I was using if (fd != -1) and was still getting the warning which confused > me > My suggestion was maybe to add the exact condition the fd analyzer is > looking for to the warning so that folks know how to fix it/trigger > its 'true' branch. > > e.g

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
> On 26 Nov 2022, at 16:42, Arnaud Charlet wrote: > > >>> The current statement (https://gcc.gnu.org/install/prerequisites.html) is: >>> >>> GNAT >>> In order to build GNAT, the Ada compiler, you need a working GNAT compiler >>> (GCC version 5.1 or later). >>> >>> so, if 5.1 is not workin

Re: Can't build Ada

2022-11-26 Thread Arnaud Charlet via Gcc
>> The current statement (https://gcc.gnu.org/install/prerequisites.html) is: >> >> GNAT >> In order to build GNAT, the Ada compiler, you need a working GNAT compiler >> (GCC version 5.1 or later). >> >> so, if 5.1 is not working, then perhaps a PR is in order. > > I will do that, if the "sh

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 10:58 AM, Iain Sandoe wrote: > > Hi Paul, > > I am part way through the exercise on both macOS 11 (X86) and 12 (Arm64). > > ** However, I am using gcc-7.5 as the bootstrap compiler, not gcc-5.1. I'm not using 5.1 -- I only quoted that version number because the install

Re: GNU = Junkware

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 4:20 AM, Dave Blanchard wrote: > > No, I'm not trolling, just venting here for a moment. So sick of garbage ass, > crusty junkware that's always a battle to the death to accomplish anything. I don't know who you are or why you feel a need to spew obscenities on the GCC

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
Hi Paul, > On 26 Nov 2022, at 15:48, Paul Koning via Gcc wrote: >> On Nov 25, 2022, at 3:46 PM, Iain Sandoe wrote: >> >>> On 25 Nov 2022, at 20:13, Andrew Pinski via Gcc wrote: >>> >>> On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: > On Nov 25, 2022, at 3:03 PM, Andrew Pinsk

Re: -fanalyzer: Questions on C vs CPP + use of GCC attr's like malloc()/access()

2022-11-26 Thread Gavin Ray via Gcc
I was using if (fd != -1) and was still getting the warning which confused me My suggestion was maybe to add the exact condition the fd analyzer is looking for to the warning so that folks know how to fix it/trigger its 'true' branch. e.g. instead of: "fd may not be valid" Something like this, or

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 25, 2022, at 3:46 PM, Iain Sandoe wrote: > > Hi Paul, > >> On 25 Nov 2022, at 20:13, Andrew Pinski via Gcc wrote: >> >> On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: >>> On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: On Fri, Nov 25, 2022 at 11:59 AM Paul

Re: GNU = Junkware

2022-11-26 Thread Paul Smith
On Sat, 2022-11-26 at 03:20 -0600, Dave Blanchard wrote: > GNU GCC/GLIBC IS THE MOST PAINFUL PIECE OF SHIT FUCKING SOFTWARE ON > THE PLANET TO BOOTSTRAP. Seems like a good time to remember the old adage, if you think everyone else is the asshole then you should consider that it's really you who's

Re: -fanalyzer: Questions on C vs CPP + use of GCC attr's like malloc()/access()

2022-11-26 Thread Jonathan Wakely via Gcc
On Fri, 25 Nov 2022, 18:55 Gavin Ray via Gcc, wrote: > > On a related note, the "fd" analyzers warn: "fd may not be valid" but don't > clarify what "valid" means. > A valid file descriptor is one that was returned by the C library and refers to an open file. That's not something GCC defines. >

Re: GNU = Junkware

2022-11-26 Thread Jonathan Wakely via Gcc
Cool story bro On Sat, 26 Nov 2022, 09:20 Dave Blanchard, wrote: > No, I'm not trolling, just venting here for a moment. So sick of garbage > ass, crusty junkware that's always a battle to the death to accomplish > anything. > > I really understand where Liu Hao was coming from yesterday when he

GNU = Junkware

2022-11-26 Thread Dave Blanchard
No, I'm not trolling, just venting here for a moment. So sick of garbage ass, crusty junkware that's always a battle to the death to accomplish anything. I really understand where Liu Hao was coming from yesterday when he was in here raging against the AT&T assembler. I could sense the bitternes