[Bug driver/17621] Add option to have GCC not search $(prefix)

wintermute2k4 at ntlworld dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 21 22:35:00 GMT 2006

------- Comment #8 from wintermute2k4 at ntlworld dot com  2006-08-21 22:35 -------
Created an attachment (id=12111)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12111&action=view)
patch to prevent searching of configured path with relocated toolchain

The attached patch against gcc 4.1.1 fixes this issue for me.

tested on Debian Sarge and Win2kPro.

2006-08-21  Dave Murphy <wintermute2k4@ntlworld.com>
*gcc/gcc.c     move export of GCC_EXEC_PREFIX to set_std_prefix in prefix.c
               use relocated path to find
*gcc/prefix.c  use configured path to check if path needs relocated
               export set_std_prefix path to GCC_EXEC_PREFIX 
*gcc/toplev.c  set std_prefix with path from GCC_EXEC_PREFIX



More information about the Gcc-bugs mailing list