updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / pic30-gcc / pic30-standard-prefix.diff
blobc48efe75e11147b701d396e4c88c42fd44232820
1 By John Steele Scott, 22/2/2005.
3 Without this patch, pic30-elf-gcc complains with:
4 pic30-elf-gcc: installation problem, cannot exec `pic30-elf-cc1': No such file or directory
6 --- ./gcc/config/pic30/pic30.h.~3~ 2009-01-28 09:01:48.000000000 +0100
7 +++ ./gcc/config/pic30/pic30.h 2009-01-28 09:02:23.000000000 +0100
8 @@ -268,15 +268,6 @@
9 #undef STARTFILE_SPEC
10 #define STARTFILE_SPEC ""
12 -/* making STANDARD_EXEC_PREFIX and STANDARD_BINDIR_PREFIX point to the same
13 - directory will cause make_relative_paths to make no change - ie look in the
14 - gcc executable's directory. */
15 -#undef STANDARD_EXEC_PREFIX
16 -#undef STANDARD_BINDIR_PREFIX
17 -#define STANDARD_EXEC_PREFIX "/bin"
18 -#define STANDARD_LIBEXEC_PREFIX "/bin"
19 -#define STANDARD_BINDIR_PREFIX "/bin"
21 /* By default, the GCC_EXEC_PREFIX_ENV prefix is "GCC_EXEC_PREFIX", however
22 in a cross compiler, another environment variable might want to be used
23 to avoid conflicts with the host any host GCC_EXEC_PREFIX */