UW–Madison Training - 2020-2021 - Network Flow
COBOL
Compiler settings
We use cobc 3.1.2.0
to compile your program with the following command:
$ cobc -g -O2 -o {executable} -std=default -free -x -static {files}
{files}
is a space-separated list of all files.{executable}
is the compiled executable.
File Extensions
Files with any of the following file extensions will be used: .cob
, .cbl
, .cpy
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base