Re: The COBOL front end, in 8 notes + toplevel patch

2025-02-06 Thread Matthias Klose
On 06.02.25 00:36, Robert Dubner wrote: -Original Message- From: Matthias Klose Sent: Tuesday, December 17, 2024 04:26 To: Joseph Myers Cc: gcc-patches@gcc.gnu.org; James K. Lowden Subject: Re: The COBOL front end, in 8 notes + toplevel patch On 17.12.24 00:58, Joseph Myers wrote

RE: The COBOL front end, in 8 notes + toplevel patch

2025-02-05 Thread Robert Dubner
> -Original Message- > From: Matthias Klose > Sent: Tuesday, December 17, 2024 04:26 > To: Joseph Myers > Cc: gcc-patches@gcc.gnu.org; James K. Lowden > Subject: Re: The COBOL front end, in 8 notes + toplevel patch > > On 17.12.24 00:58, Joseph Myers wrote:

Re: The COBOL front end, in 8 notes + toplevel patch

2025-02-04 Thread James K. Lowden
[Well, that was interesting. Some combination of fat fingers crashed my mail client and sent the incomplete message. Continued below] From: "James K. Lowden" To: Matthias Klose Cc: gcc-patches@gcc.gnu.org Date: Tue, 4 Feb 2025 04:25:23 -0500 Subject: Re: The COBOL front end,

Re: The COBOL front end, in 8 notes + toplevel patch

2025-02-04 Thread James K. Lowden
On Mon, 16 Dec 2024 10:24:23 +0100 Matthias Klose wrote: > On 14.12.24 15:38, Matthias Klose wrote: > > I tried to use the patches to build binary packages for Debian. > > Found some issues: > > tried to build libgcobol on more architectures, please find the > attached patch to disable building

Re: The COBOL front end, in 8 notes

2024-12-27 Thread James K. Lowden
On Sat, 14 Dec 2024 18:34:03 -0500 David Malcolm wrote: > You may want to apply this trivial fix to placate older C++ compilers: > > diff --git a/gcc/cobol/genapi.cc b/gcc/cobol/genapi.cc > index c9f146df41f..af4efcecebb 100644 > --- a/gcc/cobol/genapi.cc > +++ b/gcc/cobol/genapi.cc > @@ -15077,

Re: The COBOL front end, in 8 notes

2024-12-19 Thread Sam James
"James K. Lowden" writes: > On Thu, 12 Dec 2024 12:56:36 -0500 > "James K. Lowden" wrote: > >> The following 8 patches constitute the 80 files needed to build and >> document the COBOL front end. > [...] > * does not build on Darwin/macOS [Iain] > [...] > - 32-bit architectures are not a consid

Re: The COBOL front end, in 8 notes

2024-12-19 Thread Joseph Myers
On Wed, 18 Dec 2024, James K. Lowden wrote: > I think the issue that raised the most concern is the one I think is > most important: diagnostics. It was unclear -- still is, to me -- > whether the COBOL front end must or should use the gcc diagnostic > framework. (In my defense, the system goes u

Re: The COBOL front end, in 8 notes

2024-12-19 Thread Joseph Myers
On Wed, 18 Dec 2024, James K. Lowden wrote: > * Please make sure to do all regeneration with *unmodified* versions > [Joseph] > - I don't understand. You appeared to have regenerated a configure script built with a version of autoconf from a GNU/Linux distribution that patched autoconf to add

Re: The COBOL front end, in 8 notes

2024-12-19 Thread James K. Lowden
On Thu, 12 Dec 2024 12:56:36 -0500 "James K. Lowden" wrote: > The following 8 patches constitute the 80 files needed to build and > document the COBOL front end. Below is a list of issues with the COBOL front end, listed in order of priority, most important first. Each is tagged with who raised

Re: The COBOL front end, in 8 notes

2024-12-17 Thread David Malcolm
On Mon, 2024-12-16 at 11:32 -0500, James K. Lowden wrote: > On Mon, 16 Dec 2024 23:48:52 + (UTC) > Joseph Myers wrote: > > > However, if introducing a Bison dependency, it needs to be > > documented > > (being specific about version requirements) in install.texi. > > Under "Tools/packages n

Re: The COBOL front end, in 8 notes

2024-12-17 Thread Joseph Myers
On Mon, 16 Dec 2024, James K. Lowden wrote: > On Mon, 16 Dec 2024 23:48:52 + (UTC) > Joseph Myers wrote: > > > However, if introducing a Bison dependency, it needs to be documented > > (being specific about version requirements) in install.texi. > > Under "Tools/packages necessary for buil

Re: The COBOL front end, in 8 notes

2024-12-17 Thread James K. Lowden
On Mon, 16 Dec 2024 23:48:52 + (UTC) Joseph Myers wrote: > However, if introducing a Bison dependency, it needs to be documented > (being specific about version requirements) in install.texi. Under "Tools/packages necessary for building GCC", in Prequisites, yes? In gcc/cobol/parse,y, we

Re: The COBOL front end, in 8 notes + toplevel patch

2024-12-17 Thread Jakub Jelinek
On Tue, Dec 17, 2024 at 10:25:48AM +0100, Matthias Klose wrote: > On 17.12.24 00:58, Joseph Myers wrote: > > On Mon, 16 Dec 2024, Matthias Klose wrote: > > > > > On 14.12.24 15:38, Matthias Klose wrote: > > > > I tried to use the patches to build binary packages for Debian. Found > > > > some > >

Re: The COBOL front end, in 8 notes + toplevel patch

2024-12-17 Thread Matthias Klose
On 17.12.24 00:58, Joseph Myers wrote: On Mon, 16 Dec 2024, Matthias Klose wrote: On 14.12.24 15:38, Matthias Klose wrote: I tried to use the patches to build binary packages for Debian. Found some issues: tried to build libgcobol on more architectures, please find the attached patch to disa

Re: The COBOL front end, in 8 notes + toplevel patch

2024-12-16 Thread Joseph Myers
On Mon, 16 Dec 2024, Matthias Klose wrote: > On 14.12.24 15:38, Matthias Klose wrote: > > I tried to use the patches to build binary packages for Debian. Found some > > issues: > > tried to build libgcobol on more architectures, please find the attached patch > to disable building libgcobol on so

Re: The COBOL front end, in 8 notes

2024-12-16 Thread Joseph Myers
On Sat, 14 Dec 2024, Iain Sandoe wrote: > 1) to introduce new build dependencies on: > - bison (we normally commit generated files to the repo not expect the > end-user >to need bison installed). > - a version of gm4 that recognises —gnu We don't commit bison-generated files. (We don't

Re: The COBOL front end, in 8 notes

2024-12-16 Thread Joseph Myers
On Thu, 12 Dec 2024, James K. Lowden wrote: > A word about C style, always a lively topic. For any files already > present in gcc, the existing style was followed, and any variation from > it is unintentional. Files related to the parser use K&R style. The > GENERIC interface and runtime librar

Re: The COBOL front end, in 8 notes + toplevel patch

2024-12-16 Thread Matthias Klose
On 14.12.24 15:38, Matthias Klose wrote: I tried to use the patches to build binary packages for Debian. Found some issues: tried to build libgcobol on more architectures, please find the attached patch to disable building libgcobol on some architectures. how should patches and build failure

Re: The COBOL front end, in 8 notes

2024-12-14 Thread David Malcolm
On Sat, 2024-12-14 at 18:34 -0500, David Malcolm wrote: > On Sat, 2024-12-14 at 10:11 +, Sam James wrote: > > David Malcolm writes: > > > > > On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: > > [...] > > > > > > > > > Thank you for your kind consideration of our work. > > > > >

Re: The COBOL front end, in 8 notes

2024-12-14 Thread David Malcolm
On Sat, 2024-12-14 at 10:11 +, Sam James wrote: > David Malcolm writes: > > > On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: [...] > > > > > > Thank you for your kind consideration of our work. > > > > Please forgive me if you've already said this elsewhere, but is > > this > >

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Eric Gallager
On Sat, Dec 14, 2024 at 8:09 AM Iain Sandoe wrote: > > > > > On 14 Dec 2024, at 11:56, Iain Sandoe wrote: > > > > > > > >> On 14 Dec 2024, at 10:11, Sam James wrote: > >> > >> David Malcolm writes: > >> > >>> On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: > The following 8 patch

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Matthias Klose
I tried to use the patches to build binary packages for Debian. Found some issues: gcc/cobol: - the config-lang.in is provided in both patch 04 and patch 08. - the installation path for the gcobc script is missing the gcc/ subdir. Does it make sense to ship the script without the udf files

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Richard Biener
> Am 14.12.2024 um 14:09 schrieb Iain Sandoe : > >  > >>> On 14 Dec 2024, at 11:56, Iain Sandoe wrote: >>> >>> >>> On 14 Dec 2024, at 10:11, Sam James wrote: >>> >>> David Malcolm writes: >>> On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: > The following 8 pat

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Iain Sandoe
> On 14 Dec 2024, at 11:56, Iain Sandoe wrote: > > > >> On 14 Dec 2024, at 10:11, Sam James wrote: >> >> David Malcolm writes: >> >>> On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: The following 8 patches constitute the 80 files needed to build and document the COBOL

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Iain Sandoe
> On 14 Dec 2024, at 10:11, Sam James wrote: > > David Malcolm writes: > >> On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: >>> The following 8 patches constitute the 80 files needed to build and >>> document the COBOL front end. They assume that following exist: >>> >>> gcc/

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Sam James
David Malcolm writes: > On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: >> The following 8 patches constitute the 80 files needed to build and >> document the COBOL front end.  They assume that following exist: >> >>     gcc/cobol/ChangeLog >>     libgcobol/ChangeLog >> >> The message

Re: The COBOL front end, in 8 notes

2024-12-14 Thread Sam James
"James K. Lowden" writes: > The following 8 patches constitute the 80 files needed to build and > document the COBOL front end. They assume that following exist: > > gcc/cobol/ChangeLog > libgcobol/ChangeLog > > The messages are grouped by files in a more or less logical order, > but gro

Re: The COBOL front end, in 8 notes

2024-12-13 Thread Andi Kleen
"James K. Lowden" writes: > The following 8 patches constitute the 80 files needed to build and > document the COBOL front end. They assume that following exist: > > gcc/cobol/ChangeLog > libgcobol/ChangeLog > > The messages are grouped by files in a more or less logical order, > but gro

Re: The COBOL front end, in 8 notes

2024-12-13 Thread David Malcolm
On Thu, 2024-12-12 at 12:56 -0500, James K. Lowden wrote: > The following 8 patches constitute the 80 files needed to build and > document the COBOL front end.  They assume that following exist: > >     gcc/cobol/ChangeLog >     libgcobol/ChangeLog > > The messages are grouped by files in a more

The COBOL front end, in 8 notes

2024-12-13 Thread James K. Lowden
The following 8 patches constitute the 80 files needed to build and document the COBOL front end. They assume that following exist: gcc/cobol/ChangeLog libgcobol/ChangeLog The messages are grouped by files in a more or less logical order, but groups are somewhat arbitrary. The primary c