~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/compilergcc/resources/compilers/options_avr-gcc.xml

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ļ»æ<?xml version="1.0"?>
 
2
<!DOCTYPE CodeBlocks_compiler_options>
 
3
<CodeBlocks_compiler_options>
 
4
    <if platform="windows">
 
5
        <Program name="C"         value="avr-gcc.exe"/>
 
6
        <Program name="CPP"       value="avr-g++.exe"/>
 
7
        <Program name="LD"        value="avr-g++.exe"/>
 
8
        <Program name="DBGconfig" value=""/>
 
9
        <Program name="LIB"       value="avr-ar.exe"/>
 
10
        <Program name="WINDRES"   value=""/>
 
11
        <Program name="MAKE"      value="make.exe"/>
 
12
    </if>
 
13
    <else>
 
14
        <Program name="C"         value="avr-gcc"/>
 
15
        <Program name="CPP"       value="avr-g++"/>
 
16
        <Program name="LD"        value="avr-g++"/>
 
17
        <Program name="DBGconfig" value=""/>
 
18
        <Program name="LIB"       value="avr-ar"/>
 
19
        <Program name="WINDRES"   value=""/>
 
20
        <Program name="MAKE"      value="make"/>
 
21
    </else>
 
22
 
 
23
    <Switch name="includeDirs"             value="-I"/>
 
24
    <Switch name="libDirs"                 value="-L"/>
 
25
    <Switch name="linkLibs"                value="-l"/>
 
26
    <Switch name="defines"                 value="-D"/>
 
27
    <Switch name="genericSwitch"           value="-"/>
 
28
    <Switch name="objectExtension"         value="o"/>
 
29
    <Switch name="needDependencies"        value="true"/>
 
30
    <Switch name="forceCompilerUseQuotes"  value="false"/>
 
31
    <Switch name="forceLinkerUseQuotes"    value="false"/>
 
32
    <Switch name="logging"                 value="default"/>
 
33
    <Switch name="libPrefix"               value="lib"/>
 
34
    <Switch name="libExtension"            value="a"/>
 
35
    <Switch name="linkerNeedsLibPrefix"    value="false"/>
 
36
    <Switch name="linkerNeedsLibExtension" value="false"/>
 
37
 
 
38
    <Option name="Produce debugging symbols"
 
39
            option="-g"
 
40
            category="Debugging"
 
41
            checkAgainst="-O -O1 -O2 -O3 -Os"
 
42
            checkMessage="You have optimizations enabled. This is Not A Good Thing(tm) when producing debugging symbols..."
 
43
            supersedes="-s"/>
 
44
    <if platform="windows">
 
45
        <Option name="Profile code when executed"
 
46
                option="-pg"
 
47
                category="Profiling"
 
48
                additionalLibs="-pg -lgmon"
 
49
                supersedes="-s"/>
 
50
    </if>
 
51
    <else>
 
52
        <Option name="Profile code when executed"
 
53
                option="-pg"
 
54
                category="Profiling"
 
55
                additionalLibs="-pg"
 
56
                supersedes="-s"/>
 
57
    </else>
 
58
 
 
59
    <Common name="warnings"/>
 
60
 
 
61
    <Common name="optimization"/>
 
62
    <Option name="Don't keep the frame pointer in a register for functions that don't need one"
 
63
            option="-fomit-frame-pointer"
 
64
            category="Optimization"
 
65
            checkAgainst="-g -ggdb"
 
66
            checkMessage="You have debugging symbols enabled. This is Not A Good Thing(tm) when optimizing..."/>
 
67
 
 
68
    <Category name="AVR CPU architecture derivatives"
 
69
              exclusive="true">
 
70
        <Option name="AVR 1 architecture (only assembler)"
 
71
                option="-mmcu=avr1"/>
 
72
        <Option name="AT90S1200 (only assembler)"
 
73
                option="-mmcu=at90s1200"/>
 
74
        <Option name="ATtiny11 (only assembler)"
 
75
                option="-mmcu=attiny11"/>
 
76
        <Option name="ATtiny12 (only assembler)"
 
77
                option="-mmcu=attiny12"/>
 
78
        <Option name="ATtiny15 (only assembler)"
 
79
                option="-mmcu=attiny15"/>
 
80
        <Option name="ATtiny28 (only assembler)"
 
81
                option="-mmcu=attiny28"/>
 
82
        <Option name="AVR 2 archtecture"
 
83
                option="-mmcu=avr2"/>
 
84
        <Option name="AT90S2313"
 
85
                option="-mmcu=at90s2313"/>
 
86
        <Option name="AT90S2323"
 
87
                option="-mmcu=at90s2323"/>
 
88
        <Option name="AT90S2333"
 
89
                option="-mmcu=at90s2333"/>
 
90
        <Option name="AT90S2343"
 
91
                option="-mmcu=at90s2343"/>
 
92
        <Option name="ATtiny22"
 
93
                option="-mmcu=attiny22"/>
 
94
        <Option name="ATtiny26"
 
95
                option="-mmcu=attiny26"/>
 
96
        <Option name="AT90S4414"
 
97
                option="-mmcu=at90s4414"/>
 
98
        <Option name="AT90S4433"
 
99
                option="-mmcu=at90s4433"/>
 
100
        <Option name="AT90S4434"
 
101
                option="-mmcu=at90s4434"/>
 
102
        <Option name="AT90S8515"
 
103
                option="-mmcu=at90s8515"/>
 
104
        <Option name="AT90C8534"
 
105
                option="-mmcu=at90c8534"/>
 
106
        <Option name="AT90s8535"
 
107
                option="-mmcu=at90s8535"/>
 
108
        <Option name="AVR 2.5 architecture"
 
109
                option="-mmcu=avr25"/>
 
110
        <Option name="ATtiny13"
 
111
                option="-mmcu=attiny13"/>
 
112
        <Option name="ATtiny2313"
 
113
                option="-mmcu=attiny2313"/>
 
114
        <Option name="ATtiny24"
 
115
                option="-mmcu=attiny24"/>
 
116
        <Option name="ATtiny44"
 
117
                option="-mmcu=attiny44"/>
 
118
        <Option name="ATtiny84"
 
119
                option="-mmcu=attiny84"/>
 
120
        <Option name="ATtiny25"
 
121
                option="-mmcu=attiny25"/>
 
122
        <Option name="ATtiny45"
 
123
                option="-mmcu=attiny45"/>
 
124
        <Option name="ATtiny85"
 
125
                option="-mmcu=attiny85"/>
 
126
        <Option name="ATtiny261"
 
127
                option="-mmcu=attiny261"/>
 
128
        <Option name="ATtiny461"
 
129
                option="-mmcu=attiny461"/>
 
130
        <Option name="ATtiny861"
 
131
                option="-mmcu=attiny861"/>
 
132
        <Option name="AT86RF401"
 
133
                option="-mmcu=at86rf401"/>
 
134
        <Option name="AVR 3 architecture"
 
135
                option="-mmcu=avr3"/>
 
136
        <Option name="ATmega103"
 
137
                option="-mmcu=atmega103"/>
 
138
        <Option name="ATmega603"
 
139
                option="-mmcu=atmega603"/>
 
140
        <Option name="AT43USB320"
 
141
                option="-mmcu=at43usb320"/>
 
142
        <Option name="AT43USB355"
 
143
                option="-mmcu=at43usb355"/>
 
144
        <Option name="AT76C711"
 
145
                option="-mmcu=at76c711"/>
 
146
        <Option name="AVR 4 architecture"
 
147
                option="-mmcu=avr4"/>
 
148
        <Option name="ATmega8"
 
149
                option="-mmcu=atmega8"/>
 
150
        <Option name="ATmega48"
 
151
                option="-mmcu=atmega48"/>
 
152
        <Option name="ATmega88"
 
153
                option="-mmcu=atmega88"/>
 
154
        <Option name="ATmega8515"
 
155
                option="-mmcu=atmega8515"/>
 
156
        <Option name="ATmega8535"
 
157
                option="-mmcu=atmega8535"/>
 
158
        <Option name="ATmega8HVA"
 
159
                option="-mmcu=atmega8hva"/>
 
160
        <Option name="AT90PWM1"
 
161
                option="-mmcu=at90pwm1"/>
 
162
        <Option name="AT90PWM2"
 
163
                option="-mmcu=at90pwm2"/>
 
164
        <Option name="AT90PWM3"
 
165
                option="-mmcu=at90pwm3"/>
 
166
        <Option name="AVR 5 architecture"
 
167
                option="-mmcu=avr5"/>
 
168
        <Option name="ATmega16"
 
169
                option="-mmcu=atmega16"/>
 
170
        <Option name="ATmega161"
 
171
                option="-mmcu=atmega161"/>
 
172
        <Option name="ATmega163"
 
173
                option="-mmcu=atmega163"/>
 
174
        <Option name="ATmega164P"
 
175
                option="-mmcu=atmega164p"/>
 
176
        <Option name="ATmega165"
 
177
                option="-mmcu=atmega165"/>
 
178
        <Option name="ATmega165P"
 
179
                option="-mmcu=atmega165p"/>
 
180
        <Option name="ATmega168"
 
181
                option="-mmcu=atmega168"/>
 
182
        <Option name="ATmega169"
 
183
                option="-mmcu=atmega169"/>
 
184
        <Option name="ATmega169P"
 
185
                option="-mmcu=atmega169p"/>
 
186
        <Option name="ATmega32"
 
187
                option="-mmcu=atmega32"/>
 
188
        <Option name="ATmega323"
 
189
                option="-mmcu=atmega323"/>
 
190
        <Option name="ATmega324P"
 
191
                option="-mmcu=atmega324p"/>
 
192
        <Option name="ATmega325"
 
193
                option="-mmcu=atmega325"/>
 
194
        <Option name="ATmega325P"
 
195
                option="-mmcu=atmega325p"/>
 
196
        <Option name="ATmega3250"
 
197
                option="-mmcu=atmega3250"/>
 
198
        <Option name="ATmega3250P"
 
199
                option="-mmcu=atmega3250p"/>
 
200
        <Option name="ATmega329"
 
201
                option="-mmcu=atmega329"/>
 
202
        <Option name="ATmega329P"
 
203
                option="-mmcu=atmega329p"/>
 
204
        <Option name="ATmega3290"
 
205
                option="-mmcu=atmega3290"/>
 
206
        <Option name="ATmega3290P"
 
207
                option="-mmcu=atmega3290p"/>
 
208
        <Option name="ATmega406"
 
209
                option="-mmcu=atmega406"/>
 
210
        <Option name="ATmega64"
 
211
                option="-mmcu=atmega64"/>
 
212
        <Option name="ATmega640"
 
213
                option="-mmcu=atmega640"/>
 
214
        <Option name="ATmega644"
 
215
                option="-mmcu=atmega644"/>
 
216
        <Option name="ATmega644P"
 
217
                option="-mmcu=atmega644p"/>
 
218
        <Option name="ATmega645"
 
219
                option="-mmcu=atmega645"/>
 
220
        <Option name="ATmega6450"
 
221
                option="-mmcu=atmega6450"/>
 
222
        <Option name="ATmega649"
 
223
                option="-mmcu=atmega649"/>
 
224
        <Option name="ATmega6490"
 
225
                option="-mmcu=atmega6490"/>
 
226
        <Option name="ATmega128"
 
227
                option="-mmcu=atmega128"/>
 
228
        <Option name="ATmega1280"
 
229
                option="-mmcu=atmega1280"/>
 
230
        <Option name="ATmega1281"
 
231
                option="-mmcu=atmega1281"/>
 
232
        <Option name="ATmega16HVA"
 
233
                option="-mmcu=atmega16hva"/>
 
234
        <Option name="AT90CAN32"
 
235
                option="-mmcu=at90can32"/>
 
236
        <Option name="AT90CAN64"
 
237
                option="-mmcu=at90can64"/>
 
238
        <Option name="AT90CAN128"
 
239
                option="-mmcu=at90can128"/>
 
240
        <Option name="AT90USB82"
 
241
                option="-mmcu=at90usb82"/>
 
242
        <Option name="AT90USB162"
 
243
                option="-mmcu=at90usb162"/>
 
244
        <Option name="AT90USB646"
 
245
                option="-mmcu=at90usb646"/>
 
246
        <Option name="AT90USB647"
 
247
                option="-mmcu=at90usb647"/>
 
248
        <Option name="AT90USB1286"
 
249
                option="-mmcu=at90usb1286"/>
 
250
        <Option name="AT90USB1287"
 
251
                option="-mmcu=at90usb1287"/>
 
252
        <Option name="AT94K"
 
253
                option="-mmcu=at94k"/>
 
254
    </Category>
 
255
 
 
256
    <Category name="AVR CPU architecture specific">
 
257
        <Option name="Output instruction sizes to the asm file"
 
258
                option="-msize"/>
 
259
        <Option name="Initial stack address"
 
260
                option="-minit-stack=N"/>
 
261
        <Option name="Disable interrupts"
 
262
                option="-mno-interrupts"/>
 
263
        <Option name="Expand functions prologues/epilogues"
 
264
                option="-mcall-prologues"/>
 
265
        <Option name="Disable tablejump instructions"
 
266
                option="-mno-tablejump"/>
 
267
        <Option name="8 bits stack pointer"
 
268
                option="-mtiny-stack"/>
 
269
        <Option name="int as 8 bit integer"
 
270
                option="-mint8"/>
 
271
    </Category>
 
272
 
 
273
    <Command name="CompileObject"
 
274
             value="$compiler $options $includes -c $file -o $object"/>
 
275
    <Command name="GenDependencies"
 
276
             value="$compiler -MM $options -MF $dep_object -MT $object $includes $file"/>
 
277
    <Command name="CompileResource"
 
278
             value="$rescomp $res_includes $res_options -J rc -O coff -i $file -o $resource_output"/>
 
279
    <Command name="LinkConsoleExe"
 
280
             value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs"/>
 
281
    <if platform="windows">
 
282
        <Command name="LinkExe"
 
283
                 value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -mwindows"/>
 
284
        <Command name="LinkDynamic"
 
285
                 value="$linker -shared -Wl,--output-def=$def_output -Wl,--out-implib=$static_output -Wl,--dll $libdirs $link_objects $link_resobjects -o $exe_output $link_options $libs"/>
 
286
    </if>
 
287
    <else>
 
288
        <Command name="LinkExe"
 
289
                 value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs"/>
 
290
        <Command name="LinkDynamic"
 
291
                 value="$linker -shared $libdirs $link_objects $link_resobjects -o $exe_output $link_options $libs"/>
 
292
    </else>
 
293
    <Command name="LinkStatic"
 
294
             value="$lib_linker -r -s $static_output $link_objects"/>
 
295
    <Command name="LinkNative"
 
296
             value="$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs"/>
 
297
    <Common name="cmds"/>
 
298
 
 
299
    <Common name="re"/>
 
300
 
 
301
    <Common name="sort"/>
 
302
</CodeBlocks_compiler_options>