Package Details: gnu-cobol 2.2-2

Git Clone URL: https://aur.archlinux.org/gnu-cobol.git (read-only)
Package Base: gnu-cobol
Description: The open source GNU COBOL compiler
Upstream URL: http://sourceforge.net/projects/open-cobol/
Keywords: cobc cobol GnuCOBOL
Licenses: GPL
Submitter: VirtualTam
Maintainer: Ergo
Last Packager: Ergo
Votes: 16
Popularity: 0.028252
First Submitted: 2014-10-10 23:40
Last Updated: 2017-11-28 13:52

Latest Comments

r381581 commented on 2018-01-02 11:39

Thank you for providing the package.

Note: there is a semi-official PKGBUILD file that was provided for the MSYS2 project, there may be some useful parts in there (the patches are very likely not relevant): https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gnucobol

Additional Note: the package name was changed to "gnucobol" and the project name is "GnuCOBOL"

Ergo commented on 2017-11-28 13:45

Hi Rafael!
Sorry for the late, I've been very busy.
I am trying to reproduce the error you're getting. But it looks like you don't have the proper gcc compiler. I just made a small change in the PKGBUILD to make gcc as a dependence. Please if you still have some problems just tell me by mail or here. Thanks for using the package.

rafaelgomes commented on 2017-11-26 12:47

When I try to compile, it gives me this error:

make[2]: Entering directory '/home/rafael/.makepkg/gnu-cobol/src/gnucobol-2.2/extras'
. ../tests/atconfig && . ../tests/atlocal extras-CBL_OC_DUMP.so \
&& $COBC -m -Wall -O -o CBL_OC_DUMP.so CBL_OC_DUMP.cob
gcc: error: 2: No such file or directory
gcc: error: unrecognized command line option '-strong'
make[2]: *** [Makefile:578: CBL_OC_DUMP.so] Error 1
make[2]: Leaving directory '/home/rafael/.makepkg/gnu-cobol/src/gnucobol-2.2/extras'
make[1]: *** [Makefile:546: all-recursive] Error 1
make[1]: Leaving directory '/home/rafael/.makepkg/gnu-cobol/src/gnucobol-2.2'
make: *** [Makefile:457: all] Error 2