This file is indexed.

/usr/share/z88dk/lib/config/cpcansi.cfg is in z88dk-data 1.8.ds1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# Config file for zcc (front end for Small C+ compiler)
#

#
# Names of the various programs, if they're in your path you won't need to
# alter these settings - except for COPYCMD, on unix set it to: cp
#

Z80EXE		z88dk-z80asm
MPMEXE		mpm
CPP		z88dk-zcpp
LINKER		z88dk-z80asm
COMPILER	z88dk-sccz80
COPTEXE		z88dk-copt
COPYCMD		cp
APPMAKER	z88dk-appmake

#
# Flag to stimulate alternate handling of math constants, this flag is
# supplied to the compiler when you supply -lmz to the frontend
# you'll probably want to change this if you're retargetting
#
# No handling for the Spectrum, so leave as per z88

Z88MATHFLG -D__NATIVE_MATH__

#
# Style of the C Preprocessor
#
# 1 = outimplied - cpp creates .i file
# 2 = outspecified - output specified by zcc
# 3 = filter - input piped into cpp by zcc and out to a file by zcc
#
# zcpp, gnu cpp, vbcc cpp are all outspecified
#

STYLECPP 2

#
# Where the include files are kept (-I is preprocessor flag to tell it where
# to find header files)
#
# Include the full path, eg /usr/share/z88dk/include
#

INCPATH		-I/usr/share/z88dk/include

#
# Any extra command line options for the assembler
#
# (Leave alone!)

ASMOPTS		-Mo

#
# Options for the optimizer
#
# COPTRULES3 contains optimizations which call in other library
# routines..boosting code size, but..may save in the end if they
# are used often
#
# COPTRULES2 is the extended rule set for indexing within arrays and
# optimizing operations on unsigned chars
#
# COPTRULES1 is the standard rule set (been hanging around for ages!
#
# Supply the full path before the filenames, eg /usr/share/z88dk/lib/z80rules.1
#

COPTRULES1	/usr/share/z88dk/lib/z80rules.1
COPTRULES2	/usr/share/z88dk/lib/z80rules.2
COPTRULES3	/usr/share/z88dk/lib/z80rules.0

#
# Asm file which contains the startup code (omit suffix for Z80asm sake)
#
# CRT0	   = Full path and name of the startup code file (omit suffix!)
#

CRT0		/usr/share/z88dk/lib/cpc_crt0


#
# Linker Options
#
# LIBPATH   = where the linker libraries or stored
# Keep the -i before the path in LIBPATH - (this is a z80asm flag for
# libraries)
#
# LINKOPTS  = Options required when linking (leave alone!)
#


LIBPATH		-i/usr/share/z88dk/lib/clibs/
LINKOPTS	-a -m -Mo

#
# Names of the libraries
# Z88MATHLIB = name of library linked if -lmz supplied
# STARTUPLIB = library that is always linked in (contains all lib functions)
# GENMATHLIB = generic maths library
#
# (Leave alone!)
#

Z88MATHLIB 	cpc_math
STARTUPLIB 	z80_crt0
GENMATHLIB	gen_math

#
# Any default options you want - these are options to zcc which are fed
# through to compiler, assembler etc as necessary
#
# -I. needed for some strange reason for GNU cpp, I dunno why..
#
# The ones here, set verbose flag (echo commands) and switch on optimization
#
# (Leave alone!) [Recommended settings..]
#
# spec_clib required here because we've split up machine functions from
# generic z80 startup functions
#

OPTIONS		 -// -v -O2 -I. -lcpcansi_clib  -DZ80 -DSMALL_C -DCPC -D__CPC__ -M -DSCCZ80 -Cz+cpc