[Cobolforgcc-devel] Re: [open-cobol-list] GCC front end for COBOL
Status: Pre-Alpha
Brought to you by:
timjosling
|
From: Keisuke N. <kni...@ne...> - 2003-05-04 19:12:31
|
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 |