Open BrunoASMauricio opened 1 year ago
Added ability to run compatibility tests within build system. Control of the testsuite is done by setting environment variables. The main ones are:
GCC_COMPAT_GCC_OPTIONS: GCC flags
GCC_COMPAT_EXTRA_GCC_OPTIONS: GCC flags to be appended to the defaults
GCC_COMPAT_ALT_PATH: Path to alternate compiler binary (if not present, GCC self-tests)
If the ALT_PATH contains ccac (MetaWare), the following variables can be used:
GCC_METAWARE_ROOT: Path to metaware root. Adds -lmw and appropriate -L to GCC_COMPAT_GCC_OPTIONS
GCC_COMPAT_ALT_OPTIONS has default values depending on the target
Added ability to run compatibility tests within build system. Control of the testsuite is done by setting environment variables. The main ones are:
GCC_COMPAT_GCC_OPTIONS: GCC flags
GCC_COMPAT_EXTRA_GCC_OPTIONS: GCC flags to be appended to the defaults
GCC_COMPAT_ALT_PATH: Path to alternate compiler binary (if not present, GCC self-tests)
If the ALT_PATH contains ccac (MetaWare), the following variables can be used:
GCC_METAWARE_ROOT: Path to metaware root. Adds -lmw and appropriate -L to GCC_COMPAT_GCC_OPTIONS
GCC_COMPAT_ALT_OPTIONS has default values depending on the target