tinycobol/compiler/htcobolrc

145 lines
3.4 KiB
Plaintext

# TinyCOBOL resource file
# Set the default compiler options
#
# COPYEXT: Specify copy file extension
# Obsolete - Use COPYBOOK_SUFFIXES
#
# Specify copybook file suffixes (extensions) used in search sequence
#COPYBOOK_SUFFIXES: .cpy:.CPY:.inc:.INC:.cob:.COB:.cbl:.CBL::
#COPYBOOK_SUFFIXES: .cpy;.CPY;.inc;.INC;.cob;.COB;.cbl;.CBL;;
# COPYBOOK_SUFFIXES - not implemented
# COPYLIBR - Specify location of copy files
# Obsolete - Use COPYBOOKS_PATH
#
# Specify copybook file locations paths used in search sequence
# (compiler default=NULL)
#COPYBOOK_PATH: /usr/local/share/htcobol/copybooks::
#COPYBOOK_PATH: /usr/local/share/htcobol/copybooks;;
COPYBOOK_PATH: C:/TinyCOBOL/copys
# Specify COBOL program file suffixes (extensions) used in search sequence
# (compiler default=.cob:.COB:.cbl:.CBL:)
#PGM_SUFFIXES: .cob:.COB:.cbl:.CBL:
PGM_SUFFIXES: .cob;.COB;.cbl;.CBL;
# Specify COBOL program default input format
# free format -> PGM_FORMAT_FREE
# fixed format -> PGM_FORMAT_FIXED
# (compiler default=free format)
PGM_FORMAT_FREE
#PGM_FORMAT_FIXED
# Specify the default main program (entry point) action
#
# auto - Use the first encountered 'STOP RUN' statement,
# and if found, generate a program entry point.
#
# first - Use the first encountered 'PROGRAM-ID' statement,
# and if found, generate a program entry point.
#
# none - Do not generate any program entry point.
#
PGM_ENTRY_POINT_AUTO
#PGM_ENTRY_POINT_NONE
#PGM_ENTRY_POINT_FIRST
# Specify the compiler default action
# P - preprocess
# PC - preprocess,compile
# PCA - preprocess,compile,assemble
# PCAL - preprocess,compile,assemble,link to executable
# PCALX - preprocess,compile,assemble,link to executable
# PCALS - Preprocess, compile, assemble, link to static library
# PCALM - Preprocess, compile, assemble, link to shared library
# (compiler default=PCAL)
COMPILE_DEFAULT: PCAL
#COMPILE_DEFAULT: PCAS
#COMPILE_DEFAULT: PCAM
#
# List contents of copybook files - not implemented
# COPYLIST=yes NOCOPYLIST=no
#COPYLIST
#NOCOPYLIST
# Include source debugging lines
# DEBUG_LINES=yes NODEBUG_LINES=no
# (compiler default= NODEBUG_LINES)
NODEBUG_LINES
#DEBUG_LINES
# Generate program listing
# LIST=yes NOLIST=no
# (compiler default=NOLIST)
#LIST
NOLIST
#
# Default program listing suffix
# (compiler default=.lis)
#PGMLIST_SUFFIX: .listing.txt
PGMLIST_SUFFIX: .lis
# Generate symbolic cross-refrence listing
# XREF=yes NOXREF=no
# (compiler default=NOXREF)
XREF
#NOXREF
# Set Assembler command name
#
ASX_CMD: as.exe
#ASX_CMD: as
#ASX_CMD: as
# Set C compiler command name
#
CCX_CMD: gcc.exe
#CCX_CMD: gcc
#CCX_CMD: gcc
#
# Set static library archiver command names
#
#ARX_CMD: ar.exe
ARX_CMD: ar
#ARX_CMD: ar
RANLIBX_CMD: ranlib.exe
#RANLIBX_CMD: ranlib
#RANLIBX_CMD: ranlib
#
# Set shared library name default (prefix$suffix)
#
#SHLIB_NAME_DEFAULT: lib$.so
SHLIB_NAME_DEFAULT: $.dll
# Library paths to pass to link step
# LD_PATH:
#
#LD_PATH: -L/usr/lib -L/opt/cobol/lib
#LD_PATH: -L/usr/lib
#LD_PATH: -L../../../lib -L../../lib
#LD_PATH:
LD_PATH: -LC:/TinyCOBOL
# Libraries to pass to the link step
# LD_LIBS: Obsolete - Use variables below
#
LD_HT1_LIBS: -lhtcobol
#LD_HT2_LIBS: -lhtcobol2
LD_MATH_LIBS: -lm
LD_READLINE_LIBS: -lreadline
LD_EXTRA_LIBS:
#LD_DCALL_LIBS: -ldl
LD_DCALL_LIBS:
#LD_DLOAD_LIBS: -lltdl
#LD_TERM_LIBS: -lncurses
LD_TERM_LIBS: -lcurses
LD_IO_LIBS: -ldb
#
#LD_FLAGS:
LD_FLAGS: -Wl,--enable-auto-import
#