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
J. David Bryan wrote:
"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. [...]
Uppsa! I was pretty sure that I had already fixed this ... #-) Your fix is in the CVS now. Thanks Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20000808 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net
participants (2)
-
J. David Bryan -
Peter Gerwinski