Customize
Customizing compiler
These settings are effective at compile-time.
Environment variables (default value in brackets):
COB_CCC compiler (“gcc”)
COB_CFLAGSFlags passed to the C compiler (“-I$(PREFIX)/include”)
COB_LDFLAGSFlags passed to the C compiler (“”)
COB_LIBSStandard libraries linked with the program (“-L$(PREFIX)/lib -lcob”)
COB_LDADDAdditional libraries linked with the program (“”)
Customizing library
These settings are effective at run-time. You can set them either via the environment or by a runtime configuration file.
To set the global runtime configuration file export COB_RUNTIME_CONFIGto point to your configuration file.
To set an explicit runtime configuration file for a single run via
cobcrun you can use its option -c <file>,
--config=<file>.
For displaying the current runtime settings you can use the option
-r, --runtime-env of cobcrun.
For a complete list of runtime variables, aliases, their default values and options to set them Appendix I.