This report is for gpc-20000805.
The "Invoking GPC" section of the GPC manual states:
"In addition, GPC recognizes GPC_EXEC_PREFIX with the same meaning that GCC_EXEC_PREFIX has to GCC. GPC also recognizes GCC_EXEC_PREFIX, but GPC_EXEC_PREFIX takes precedence."
Actually, GCC_EXEC_PREFIX takes precedence. Lines 2919-2922 of "gpc.c" are:
gcc_exec_prefix = getenv ("GCC_EXEC_PREFIX"); #ifdef GPC if (! gcc_exec_prefix) gcc_exec_prefix = getenv ("GPC_EXEC_PREFIX"); #endif
Note that GPC_EXEC_PREFIX is not used if GCC_EXEC_PREFIX is defined. One possible fix to this code would be:
#ifdef GPC gcc_exec_prefix = getenv ("GPC_EXEC_PREFIX"); if (! gcc_exec_prefix) #endif gcc_exec_prefix = getenv ("GCC_EXEC_PREFIX");
(The behavior stated in the manual is the desired one. When running GPC, the GPC-specific environment variable should take precedence over any existing GCC-specific variable.)
-- Dave