Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-22 Thread Christian Mauderer
On 21/08/2021 04:56, Chris Johns wrote: On 21/8/21 4:08 am, o...@c-mauderer.de wrote: Started to test both (MSYS2 and Cygwin) and I start to suspect that our manual needs some minor updates. I'm taking notes ... Oh awesome, I am sooo grateful. Thanks Chris Hello, building on Windows is

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Chris Johns
On 21/8/21 4:08 am, o...@c-mauderer.de wrote: > Started to test both (MSYS2 and Cygwin) and I start to suspect that our manual > needs some minor updates. I'm taking notes ... Oh awesome, I am sooo grateful. Thanks Chris ___ devel mailing list

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread oss
On 20/08/2021 18:24, Gedare Bloom wrote: On Fri, Aug 20, 2021 at 2:02 AM Chris Johns wrote: On 20/8/21 5:42 pm, Christian MAUDERER wrote: Am 20.08.21 um 09:02 schrieb Chris Johns: On 20/8/21 4:48 pm, Christian MAUDERER wrote: Hello, Am 20.08.21 um 03:49 schrieb Chris Johns: On 20/8/21

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Gedare Bloom
On Fri, Aug 20, 2021 at 2:02 AM Chris Johns wrote: > > On 20/8/21 5:42 pm, Christian MAUDERER wrote: > > Am 20.08.21 um 09:02 schrieb Chris Johns: > >> On 20/8/21 4:48 pm, Christian MAUDERER wrote: > >>> Hello, > >>> > >>> Am 20.08.21 um 03:49 schrieb Chris Johns: > On 20/8/21 3:16 am, Joel

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Chris Johns
On 20/8/21 5:42 pm, Christian MAUDERER wrote: > Am 20.08.21 um 09:02 schrieb Chris Johns: >> On 20/8/21 4:48 pm, Christian MAUDERER wrote: >>> Hello, >>> >>> Am 20.08.21 um 03:49 schrieb Chris Johns: On 20/8/21 3:16 am, Joel Sherrill wrote: > On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Christian MAUDERER
Am 20.08.21 um 09:02 schrieb Chris Johns: On 20/8/21 4:48 pm, Christian MAUDERER wrote: Hello, Am 20.08.21 um 03:49 schrieb Chris Johns: On 20/8/21 3:16 am, Joel Sherrill wrote: On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom wrote: I have no problem with this. I think it is sensible to

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Chris Johns
On 20/8/21 4:48 pm, Christian MAUDERER wrote: > Hello, > > Am 20.08.21 um 03:49 schrieb Chris Johns: >> On 20/8/21 3:16 am, Joel Sherrill wrote: >>> On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom wrote: I have no problem with this. I think it is sensible to look for python3 before

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-20 Thread Christian MAUDERER
Hello, Am 20.08.21 um 03:49 schrieb Chris Johns: On 20/8/21 3:16 am, Joel Sherrill wrote: On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom wrote: I have no problem with this. I think it is sensible to look for python3 before python2. At some point we'll have to stop looking for python2 :)

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-19 Thread Chris Johns
On 20/8/21 3:16 am, Joel Sherrill wrote: > On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom wrote: >> >> I have no problem with this. I think it is sensible to look for >> python3 before python2. At some point we'll have to stop looking for >> python2 :) > > That is further in the future than I

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-19 Thread Joel Sherrill
On Thu, Aug 19, 2021 at 11:51 AM Gedare Bloom wrote: > > I have no problem with this. I think it is sensible to look for > python3 before python2. At some point we'll have to stop looking for > python2 :) That is further in the future than I would have thought based on the CentOS project

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-19 Thread Gedare Bloom
I have no problem with this. I think it is sensible to look for python3 before python2. At some point we'll have to stop looking for python2 :) On Thu, Aug 19, 2021 at 3:24 AM Christian MAUDERER wrote: > > PS: I had the problem on the 5 branch of RTEMS source builder. I think > we should apply a

Re: [PATCH] gdb: prefere python3 if it is installed

2021-08-19 Thread Christian MAUDERER
PS: I had the problem on the 5 branch of RTEMS source builder. I think we should apply a patch to both: master and the 5 branch. Am 19.08.21 um 10:34 schrieb Christian Mauderer: More and more systems stop shipping python2. So we should start to prefer python3 over python2. For building gdb it

[PATCH] gdb: prefere python3 if it is installed

2021-08-19 Thread Christian Mauderer
More and more systems stop shipping python2. So we should start to prefer python3 over python2. For building gdb it is not only necessary to have a python binary installed, but also the matching python-devel packet. On a lot of hosts that will now be more often python3-devel and not python2-devel.