Supported Clang options
Open XL C/C++ for z/OS®
provides official support for the following Clang options only. For details about these options, see
Clang command line argument reference.
- -###
- --config
- --help 1
- --version
- -C
- -c
- -cxx-isystem
- -D
- -dD
- -dependency-file
- -dI
- -dM
- -E
- -e
- -emit-ast
- -faligned-allocation
- -faligned-alloc-unavailable
- -fassociative-math, -fno-associative-math
- -fcheck-new
- -fclang-abi-compat
- -fcxx-exceptions
- -fdebug-compilation-dir=<dir>
- -fdigraphs, -fno-digraphs
- -fdollars-in-identifiers, -fno-dollars-in-identifiers
- -fdump-record-layouts
- -fexceptions, -fno-exceptions
- -ffast-math,-fno-fast-math
- -ffinite-math-only, -fno-finite-math-only
- -ffp-contract
- -fhonor-infinities, -fno-honor-infinities
- -fhonor-nans, -fno-honor-nans
- -fignore-exceptions
- -finline, -fno-inline
- -finline-functions, -fno-inline-functions
- -finline-hint-functions
- -fintegrated-as, -fno-integrated-as
- -fmath-errno, -fno-math-errno
- -fno-signed-whcar
- -fno-strict-overflow
- -freciprocal-math, -fno-reciprocal-math
- -frestrict-args
- -frtti, -fno-rtti
- -frounding-math, -fno-rounding-math
- -fshort-enums, -fno-short-enums
- -fsigned-bitfields, -funsigned-bitfields
- -fsigned-zeros, -fno-signed-zeros
- -fsigned-char, -fno-signed-char, -funsigned-char
- -fslp-vectorize
- -fstack-protector, -fno-stack-protector
- -fstack-protector-all
- -fstack-protector-strong
- -fstrict-aliasing
- -ftemplate-depth
- -ftime-report
- -ftrapping-math, -fno-trapping-math
- -ftrigraphs, -fno-trigraphs
- -funique-internal-linkage-names
- -funroll-loops, -fno-unroll-loops
- -fvectorize
- -fvisibility
- -fwrapv
- -fwrapv-pointer
- -fwritable-strings
- -fxl-pragma-pack
- -fzvector, -fno-zvector
- -g
- -gdwarf-4
- -gdwarf-5
- -gsplit-dwarf
- -H
- -I
- -include
- -L
- -l
- -M
- -MD
- -MF
- -MM
- -MMD
- -MQ
- -MT
- -march
- -mbackchain
- -mvx, -mno-vx
- -mzvector
- -O, -O1, -O2, -O3, -Os, -Oz
- -o
- -P
- -r
- -shared, --shared
- -std
- -U
- -v
- -W<group>
- -Wa,<arg>
- -Wc,<arg>
- -Wl,<arg>
- -x
Note:
- The --help option lists some options that are not in the previous option list. These options are not supported by Open XL C/C++ for z/OS.