bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [Bug-GnuCOBOL] COBC -X


From: Edward Hart
Subject: Re: [Bug-GnuCOBOL] COBC -X
Date: Sun, 1 Apr 2018 20:18:29 +0100

Hi Jonathan,

Does setting the COB_CONFIG_DIR environment variable to the directory containing your config files help?

Edward

On 30 March 2018 at 17:15, Jonathan Ras <address@hidden> wrote:
Hi Edward,

I have tried to upgrade to GnuCOBOL 2.2, but now the error goes:

address@hidden /c/gnucobol/pgms
$ cobc -x 01_05_sample.cbl
configuration error:
default.conf: No such file or directory

Regards,
Jonathan

On Fri, Mar 30, 2018 at 8:27 PM, Edward Hart <address@hidden> wrote:
Hi Jonathan,

Have you tried upgrading to GnuCOBOL 2.2?

Kind regards,
Edward

On 29 March 2018 at 23:39, Jonathan Ras <address@hidden> wrote:
Hi,

I have tried compiling a .cbl program but I encountered this error:

address@hidden /c/gnucobol/pgms
$ cobc -x
configuration error:
/mingw/share/gnu-cobol/config\default.conf: No such file or directory

Notice that the forward slash in the directory was not correct config\default.conf
Please advise on how to resolve this. Thank you.

address@hidden /c/gnucobol/pgms
$ cobc -i
cobc (GnuCOBOL) 2.0.0
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built     Mar 30 2018 05:21:17
Packaged  Nov 06 2016 22:36:19 UTC
C version "6.3.0"

build information
build environment        : i686-pc-mingw32
CC                       : gcc
CPPFLAGS                 : -I/mingw/include
CFLAGS                   : -O2 -pipe -finline-functions -fsigned-char
                           -Wall -Wwrite-strings -Wmissing-prototypes
                           -Wno-format-y2k -U_FORTIFY_SOURCE
LD                       : c:/gc20-build/mingw/mingw32/bin/ld.exe
LDFLAGS                  :

GnuCOBOL information
COB_CC                   : gcc
COB_CFLAGS               : -I/mingw/include -I/mingw/include -pipe
COB_LDFLAGS              :
COB_LIBS                 : -L/mingw/lib -lcob -lm -lgmp -L/mingw/lib
                           -lintl -lpdcurses -ldb
COB_CONFIG_DIR           : /mingw/share/gnu-cobol/config
COB_COPY_DIR             : /mingw/share/gnu-cobol/copy
COB_MSG_FORMAT           : GCC
COB_MODULE_EXT           : dll
COB_EXEEXT               : .exe
64bit-mode               : no
BINARY-C-LONG            : 4 bytes
extended screen I/O      : pdcurses
variable format          : 0
sequential handler       : built-in
ISAM handler             : BDB

address@hidden /c/gnucobol/pgms
$ cobc -i
cobc (GnuCOBOL) 2.0.0
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built     Mar 30 2018 05:21:17
Packaged  Nov 06 2016 22:36:19 UTC
C version "6.3.0"

build information
build environment        : i686-pc-mingw32
CC                       : gcc
CPPFLAGS                 : -I/mingw/include
CFLAGS                   : -O2 -pipe -finline-functions -fsigned-char
                           -Wall -Wwrite-strings -Wmissing-prototypes
                           -Wno-format-y2k -U_FORTIFY_SOURCE
LD                       : c:/gc20-build/mingw/mingw32/bin/ld.exe
LDFLAGS                  :

GnuCOBOL information
COB_CC                   : gcc
COB_CFLAGS               : -I/mingw/include -I/mingw/include -pipe
COB_LDFLAGS              :
COB_LIBS                 : -L/mingw/lib -lcob -lm -lgmp -L/mingw/lib
                           -lintl -lpdcurses -ldb
COB_CONFIG_DIR           : /mingw/share/gnu-cobol/config
COB_COPY_DIR             : /mingw/share/gnu-cobol/copy
COB_MSG_FORMAT           : GCC
COB_MODULE_EXT           : dll
COB_EXEEXT               : .exe
64bit-mode               : no
BINARY-C-LONG            : 4 bytes
extended screen I/O      : pdcurses
variable format          : 0
sequential handler       : built-in
ISAM handler             : BDB




reply via email to

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