1 --- ./gcc/config.gcc.orig 2009-01-31 18:53:24.000000000 +0100
2 +++ ./gcc/config.gcc 2009-01-31 19:19:35.000000000 +0100
4 host_can_use_collect2=no
5 host_xm_defines="PROGRAM_PREFIX=\\\"${program_prefix}\\\" ${host_xm_defines}"
6 extra_modes=pic30/pic30-modes.h
7 + tm_file="pic30/defines.h ${tm_file}"
12 tm_defines="OBJECT_FORMAT_ELF $tm_defines"
13 host_xm_defines="PROGRAM_PREFIX=\\\"${program_prefix}\\\" ${host_xm_defines}"
14 extra_modes=pic30/pic30-modes.h
15 + tm_file="pic30/defines.h ${tm_file}"
19 --- /dev/null 2009-01-31 13:17:10.543334184 +0100
20 +++ ./gcc/config/pic30/defines.h 2009-01-31 19:22:32.000000000 +0100
22 +#define MPLABC30_COMMON_INCLUDE_PATH "/usr/pic30/include"
23 +#define MPLABC30_PIC24F_INCLUDE_PATH "/usr/pic30/include/PIC24F"
24 +#define MPLABC30_PIC24H_INCLUDE_PATH "/usr/pic30/include/PIC24H"
25 +#define MPLABC30_PIC30F_INCLUDE_PATH "/usr/pic30/include/PIC30F"
26 +#define MPLABC30_PIC33F_INCLUDE_PATH "/usr/pic30/include/PIC33F"
27 +#define MPLABC30_COMMON_LIB_PATH "/usr/pic30/lib"
28 +#define MPLABC30_PIC24F_LIB_PATH "/usr/pic30/lib/PIC24F"
29 +#define MPLABC30_PIC24H_LIB_PATH "/usr/pic30/lib/PIC24H"
30 +#define MPLABC30_PIC30F_LIB_PATH "/usr/pic30/lib/PIC30F"
31 +#define MPLABC30_PIC33F_LIB_PATH "/usr/pic30/lib/PIC33F"
32 +/*#define STANDARD_INCLUDE_DIR "/usr/pic30/include"*/
34 + * Major simplification hack.
35 + * I just hope this does the trick....
38 +#undef INCLUDE_DEFAULTS
39 +#define INCLUDE_DEFAULTS \
41 + { "/usr/pic30/include", "GCC", 0, 0 }, \