updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / pic30-gcc / flag_definitions.diff
blob9b2184008247266f724c165e61bd7ec6ca9cdb45
1 --- ./c30_resource/src/c30/c30_flag_definitions.h.orig 2010-07-22 11:57:40.000000000 +0200
2 +++ ./c30_resource/src/c30/c30_flag_definitions.h 2010-07-22 12:01:55.000000000 +0200
3 @@ -73,112 +73,32 @@
4 * Multiple paths may be separated by colons
5 * '/' is converted to the correct directory separator for the OS
6 */
7 -#define MPLABC30_PIC30F_INC_PATH ".." DIR_SEPARATOR_STR \
8 - "support" DIR_SEPARATOR_STR \
9 - "dsPIC30F" DIR_SEPARATOR_STR \
10 - "inc"
11 -#define MPLABC30_PIC33F_INC_PATH ".." DIR_SEPARATOR_STR \
12 - "support" DIR_SEPARATOR_STR \
13 - "dsPIC33F" DIR_SEPARATOR_STR \
14 - "inc"
15 -#define MPLABC30_PIC24H_INC_PATH ".." DIR_SEPARATOR_STR \
16 - "support" DIR_SEPARATOR_STR \
17 - "PIC24H" DIR_SEPARATOR_STR \
18 - "inc"
19 -#define MPLABC30_PIC24F_INC_PATH ".." DIR_SEPARATOR_STR \
20 - "support" DIR_SEPARATOR_STR \
21 - "PIC24F" DIR_SEPARATOR_STR \
22 - "inc"
24 +#define MPLABC30_PIC30F_INC_PATH "/usr/pic30/inc/dsPIC30F"
25 +#define MPLABC30_PIC33F_INC_PATH "/usr/pic30/inc/dsPIC33F"
26 +#define MPLABC30_PIC24H_INC_PATH "/usr/pic30/inc/PIC24H"
27 +#define MPLABC30_PIC24F_INC_PATH "/usr/pic30/inc/PIC24F"
30 * compiler include paths for each device family
31 * Multiple paths may be separated by colons
32 * '/' is converted to the correct directory separator for the OS
34 -#define MPLABC30_COMMON_INCLUDE_PATH ".." DIR_SEPARATOR_STR \
35 - "include" PATH_SEPARATOR_STR \
36 - ".." DIR_SEPARATOR_STR \
37 - "support" DIR_SEPARATOR_STR \
38 - "generic" DIR_SEPARATOR_STR \
39 - "h"
40 -#define MPLABC30_PIC24F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \
41 - "support" DIR_SEPARATOR_STR \
42 - "PIC24F" DIR_SEPARATOR_STR \
43 - "h" PATH_SEPARATOR_STR \
44 - ".." DIR_SEPARATOR_STR \
45 - "support" DIR_SEPARATOR_STR \
46 - "peripheral_24F"
47 -#define MPLABC30_PIC24H_INCLUDE_PATH ".." DIR_SEPARATOR_STR \
48 - "support" DIR_SEPARATOR_STR \
49 - "PIC24H" DIR_SEPARATOR_STR \
50 - "h" PATH_SEPARATOR_STR \
51 - ".." DIR_SEPARATOR_STR \
52 - "support" DIR_SEPARATOR_STR \
53 - "peripheral_30F_24H_33F"
54 -#define MPLABC30_PIC30F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \
55 - "support" DIR_SEPARATOR_STR \
56 - "dsPIC30F" DIR_SEPARATOR_STR \
57 - "h" PATH_SEPARATOR_STR \
58 - ".." DIR_SEPARATOR_STR \
59 - "support" DIR_SEPARATOR_STR \
60 - "peripheral_30F_24H_33F"
61 -#define MPLABC30_PIC33F_INCLUDE_PATH ".." DIR_SEPARATOR_STR \
62 - "support" DIR_SEPARATOR_STR \
63 - "dsPIC33F" DIR_SEPARATOR_STR \
64 - "h" PATH_SEPARATOR_STR \
65 - ".." DIR_SEPARATOR_STR \
66 - "support" DIR_SEPARATOR_STR \
67 - "peripheral_30F_24H_33F"
68 +#define MPLABC30_COMMON_INCLUDE_PATH "/usr/pic30/include:/usr/pic30/include/generic"
69 +#define MPLABC30_PIC24F_INCLUDE_PATH "/usr/pic30/include/PIC24F"
70 +#define MPLABC30_PIC24H_INCLUDE_PATH "/usr/pic30/include/PIC24H"
71 +#define MPLABC30_PIC30F_INCLUDE_PATH "/usr/pic30/include/dsPIC30F"
72 +#define MPLABC30_PIC33F_INCLUDE_PATH "/usr/pic30/include/dsPIC33F"
75 * linker library paths for each device family
76 * Multiple paths may be separated by colons
77 * '/' is converted to the correct directory separator for the OS
79 -#define MPLABC30_COMMON_LIB_PATH ".." DIR_SEPARATOR_STR \
80 - "lib" PATH_SEPARATOR_STR \
81 - ".." DIR_SEPARATOR_STR \
82 - "support" DIR_SEPARATOR_STR \
83 - "generic" DIR_SEPARATOR_STR \
84 - "gld"
85 -#define MPLABC30_PIC24F_LIB_PATH ".." DIR_SEPARATOR_STR \
86 - "lib" DIR_SEPARATOR_STR \
87 - "PIC24F" PATH_SEPARATOR_STR \
88 - ".." DIR_SEPARATOR_STR \
89 - "support" DIR_SEPARATOR_STR \
90 - "PIC24F" DIR_SEPARATOR_STR \
91 - "gld" PATH_SEPARATOR_STR \
92 - ".." DIR_SEPARATOR_STR \
93 - "lib" DIR_SEPARATOR_STR \
94 - "peripheral_24F"
95 -#define MPLABC30_PIC24H_LIB_PATH ".." DIR_SEPARATOR_STR \
96 - "lib" DIR_SEPARATOR_STR \
97 - "PIC24H" PATH_SEPARATOR_STR \
98 - ".." DIR_SEPARATOR_STR \
99 - "support" DIR_SEPARATOR_STR \
100 - "PIC24H" DIR_SEPARATOR_STR \
101 - "gld" PATH_SEPARATOR_STR \
102 - ".." DIR_SEPARATOR_STR \
103 - "lib" DIR_SEPARATOR_STR \
104 - "peripheral_30F_24H_33F"
105 -#define MPLABC30_PIC30F_LIB_PATH ".." DIR_SEPARATOR_STR \
106 - "lib" DIR_SEPARATOR_STR \
107 - "dsPIC30F" PATH_SEPARATOR_STR \
108 - ".." DIR_SEPARATOR_STR \
109 - "support" DIR_SEPARATOR_STR \
110 - "dsPIC30F" DIR_SEPARATOR_STR \
111 - "gld" PATH_SEPARATOR_STR \
112 - ".." DIR_SEPARATOR_STR \
113 - "lib" DIR_SEPARATOR_STR \
114 - "peripheral_30F_24H_33F"
115 -#define MPLABC30_PIC33F_LIB_PATH ".." DIR_SEPARATOR_STR \
116 - "lib" DIR_SEPARATOR_STR \
117 - "dsPIC33F" PATH_SEPARATOR_STR \
118 - ".." DIR_SEPARATOR_STR \
119 - "support" DIR_SEPARATOR_STR \
120 - "dsPIC33F" DIR_SEPARATOR_STR \
121 - "gld" PATH_SEPARATOR_STR \
122 - ".." DIR_SEPARATOR_STR \
123 - "lib" DIR_SEPARATOR_STR \
124 - "peripheral_30F_24H_33F"
126 +#define MPLABC30_COMMON_LIB_PATH "/usr/pic30/lib:/usr/pic30/gld/generic"
127 +#define MPLABC30_PIC24F_LIB_PATH "/usr/pic30/lib/PIC24F:/usr/pic30/gld/PIC24F"
128 +#define MPLABC30_PIC24H_LIB_PATH "/usr/pic30/lib/PIC24H:/usr/pic30/gld/PIC24H"
129 +#define MPLABC30_PIC30F_LIB_PATH "/usr/pic30/lib/dsPIC30F:/usr/pic30/gld/dsPIC30F"
130 +#define MPLABC30_PIC33F_LIB_PATH "/usr/pic30/lib/dsPIC33F:/usr/pic30/gld/dsPIC33F"
132 #endif