https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90375

            Bug ID: 90375
           Summary: Environment variables not listed in ENVIRONMENT
                    section of man page
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: minor
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

The following env vars are documented as affecting GCC's behaviour, but are not
listed in the ENVIRONMENT section of the gcc(1) man page:

GCC_COLORS (for -fdiagnostics-color)
COLUMNS (for -fno-diagnostics-show-caret)
MAKE (for -flto=n)
ASAN_OPTIONS
TSAN_OPTIONS
LSAN_OPTIONS
VTV_LOGS_DIR (for -fvtv-debug)
PATH (for finding subprograms when -Bprefix and the standard locations don't
have them)

-M mentions "or use an environment variable like DEPENDENCIES_OUTPUT" which
isn't very clear if that actually gets used by GCC or is just an example. I
suggest saying "or use one of the environment variables DEPENDENCIES_OUTPUT or
SUNPRO_DEPENDENCIES" instead.

There's also "The runtime library  behavior can be influenced using various
CHKP_RT_* environment variables.  See
<https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler>
for more details."

Reply via email to