gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] GCC front end for COBOL


From: Keisuke Nishida
Subject: Re: [open-cobol-list] GCC front end for COBOL
Date: Sun May 4 12:13:33 2003
User-agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

Hi Bernard,

At Fri, 02 May 2003 16:01:16 +0200,
Bernard Giroud wrote:
> 
> I would just suggest changing the external name
> gcb (and the project name) to something like
> gcob: quicker to pronounce, and better imaging
> against GNU (like gcc, g77, ...).

Yes, that might be better.

> I wonder how much easy it would be to continue
> to work with OpenCOBOL modified to have
> a structure more compatible to GCC, so that minimal
> modifications could be applied back to gcc-cobol ?

It is not hard, but developing two compilers in parallel
is troublesome.  I am going to switch to gcc-cobol sooner
or later.

> A few technical hints when making the compiler:
> 
> - on a RH8.0, I had to rename all malloc in cob-tree.c
>   into xmalloc, following a error message about
>   "poisonous malloc".
> - contrary to your instructions, you need OpenCOBOL 0.12.
>   If 0.11, cob_get_environment and cob_put_environment
>   are missing. If 0.20, then cob_decimal_get, cob_decimal_get_r
>   and cob_error_code are missing.

I will fix them.  Thanks.

> Also where should cobc1 be installed to make it work ?

Anywhere on the PATH.

Keisuke


reply via email to

[Prev in Thread] Current Thread [Next in Thread]