Warning: Undefined variable $n in /usr/local/www/websvn.planix.org/include/diff_util.php on line 243

Warning: Undefined variable $n in /usr/local/www/websvn.planix.org/include/diff_util.php on line 247

Warning: Undefined variable $m in /usr/local/www/websvn.planix.org/include/diff_util.php on line 251
WebSVN – tendra.SVN – Diff – /trunk/src/tools/tcc/flags.h – Rev 2 and 7

Subversion Repositories tendra.SVN

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line -... Line 1...
-
 
1
/*
-
 
2
 * Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
-
 
3
 * All rights reserved.
-
 
4
 *
-
 
5
 * Redistribution and use in source and binary forms, with or without
-
 
6
 * modification, are permitted provided that the following conditions are met:
-
 
7
 *
-
 
8
 * 1. Redistributions of source code must retain the above copyright notice,
-
 
9
 *    this list of conditions and the following disclaimer.
-
 
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
-
 
11
 *    this list of conditions and the following disclaimer in the documentation
-
 
12
 *    and/or other materials provided with the distribution.
-
 
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
-
 
14
 *    may be used to endorse or promote products derived from this software
-
 
15
 *    without specific, prior written permission.
-
 
16
 *
-
 
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
-
 
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-
 
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-
 
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
-
 
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-
 
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-
 
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-
 
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-
 
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-
 
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-
 
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 
28
 *
-
 
29
 * $Id$
-
 
30
 */
1
/*
31
/*
2
    		 Crown Copyright (c) 1997
32
    		 Crown Copyright (c) 1997
3
    
33
 
4
    This TenDRA(r) Computer Program is subject to Copyright
34
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
35
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
36
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
37
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
38
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
39
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
40
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
41
    shall be deemed to be acceptance of the following conditions:-
12
    
42
 
13
        (1) Its Recipients shall ensure that this Notice is
43
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
44
        reproduced upon any copies or amended versions of it;
15
    
45
 
16
        (2) Any amended version of it shall be clearly marked to
46
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
47
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
48
        for the relevant amendment or amendments;
19
    
49
 
20
        (3) Its onward transfer from a recipient to another
50
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
51
        party shall be deemed to be that party's acceptance of
22
        these conditions;
52
        these conditions;
23
    
53
 
24
        (4) DERA gives no warranty or assurance as to its
54
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
55
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
56
        no liability whatsoever in relation to any use to which
27
        it may be put.
57
        it may be put.
28
*/
58
*/
Line 31... Line 61...
31
#ifndef FLAGS_INCLUDED
61
#ifndef FLAGS_INCLUDED
32
#define FLAGS_INCLUDED
62
#define FLAGS_INCLUDED
33
 
63
 
34
 
64
 
35
/*
65
/*
163
 
196
 
164
#define STOP_STAGE		0
197
#define STOP_STAGE		0
165
#define STOP_ONLY_STAGE		1
198
#define STOP_ONLY_STAGE		1
166
#define KEEP_STAGE		2
199
#define KEEP_STAGE		2
167
#define DONT_KEEP_STAGE		3
200
#define DONT_KEEP_STAGE		3
168
 
201
 
169
 
202
 
170
/*
203
/*
171
    INDIVIDUAL OPTIONS
204
 * INDIVIDUAL OPTIONS
-
 
205
 *
-
 
206
 * These flags control those individual executable options which are not easily
-
 
207
 * integrated into the main scheme of things.
-
 
208
 */
-
 
209
 
-
 
210
extern boolean flag_diag;
-
 
211
extern boolean flag_incl;
-
 
212
extern boolean flag_keep_err;
-
 
213
extern boolean flag_merge_all;
-
 
214
extern boolean flag_nepc;
-
 
215
extern boolean flag_no_files;
-
 
216
extern boolean flag_optim;
-
 
217
extern boolean flag_prof;
-
 
218
extern boolean flag_startup;
-
 
219
extern boolean flag_strip;
172
 
220
 
173
    These flags control those individual executable options which are
-
 
174
    not easily integrated into the main scheme of things.
-
 
175
*/
-
 
176
 
-
 
177
extern boolean flag_diag ;
-
 
178
extern boolean flag_incl ;
-
 
179
extern boolean flag_keep_err ;
-
 
180
extern boolean flag_merge_all ;
-
 
181
extern boolean flag_nepc ;
-
 
182
extern boolean flag_no_files ;
-
 
183
extern boolean flag_optim ;
-
 
184
extern boolean flag_prof ;
-
 
185
extern boolean flag_startup ;
-
 
186
extern boolean flag_strip ;
-
 
187
 
-
 
188
 
-
 
189
/*
-
 
190
    EXECUTABLES
-
 
191
 
-
 
192
    These variables give the values of the various executables used by
-
 
193
    the system.
-
 
194
*/
-
 
195
 
-
 
196
extern list *exec_produce ;
-
 
197
extern list *exec_preproc ;
-
 
198
extern list *exec_cpp_produce ;
-
 
199
extern list *exec_cpp_preproc ;
-
 
200
extern list *exec_tdf_link ;
-
 
201
extern list *exec_translate ;
-
 
202
extern list *exec_assemble ;
-
 
203
extern list *exec_assemble_mips ;
-
 
204
extern list *exec_link ;
-
 
205
extern list *exec_notation ;
-
 
206
extern list *exec_pl_tdf ;
-
 
207
extern list *exec_pretty ;
-
 
208
extern list *exec_spec_link ;
-
 
209
extern list *exec_cpp_spec_link ;
-
 
210
extern list *exec_split_arch ;
-
 
211
extern list *exec_build_arch ;
-
 
212
extern list *exec_cat ;
-
 
213
extern list *exec_cc ;
-
 
214
extern list *exec_mkdir ;
-
 
215
extern list *exec_move ;
-
 
216
extern list *exec_remove ;
-
 
217
extern list *exec_touch ;
-
 
218
extern list *exec_dynlink ;
-
 
219
extern list *exec_dump_anal ;
-
 
220
extern list *exec_dump_link ;
-
 
221
 
-
 
222
 
-
 
223
/*
-
 
224
    BUILT-IN OPTIONS
-
 
225
 
-
 
226
    These lists of options are built into the system, although they may
-
 
227
    be altered by environments and command-line options.
-
 
228
*/
-
 
229
 
-
 
230
extern list *std_prod_incldirs ;
-
 
231
extern list *std_prod_portfile ;
-
 
232
extern list *std_prod_startdirs ;
-
 
233
extern list *std_prod_startup ;
-
 
234
extern list *std_cpp_prod_incldirs ;
-
 
235
extern list *std_cpp_prod_startdirs ;
-
 
236
extern list *std_cpp_prod_startup ;
-
 
237
extern list *std_tdf_link_libdirs ;
-
 
238
extern list *std_tdf_link_libs ;
-
 
239
extern list *std_link_crt0 ;
-
 
240
extern list *std_link_crt1 ;
-
 
241
extern list *std_link_crtp_n ;
-
 
242
extern list *std_link_crtn ;
-
 
243
extern list *std_link_libdirs ;
-
 
244
extern list *std_link_libs ;
-
 
245
extern list *std_link_c_libs ;
-
 
246
extern list *std_link_entry ;
-
 
247
 
221
 
-
 
222
/*
-
 
223
 * EXECUTABLES
-
 
224
 *
-
 
225
 * These variables give the values of the various executables used by the
-
 
226
 * system.
-
 
227
 */
-
 
228
 
-
 
229
extern list *exec_produce;
-
 
230
extern list *exec_preproc;
-
 
231
extern list *exec_cpp_produce;
-
 
232
extern list *exec_cpp_preproc;
-
 
233
extern list *exec_tdf_link;
-
 
234
extern list *exec_translate;
-
 
235
extern list *exec_assemble;
-
 
236
extern list *exec_assemble_mips;
-
 
237
extern list *exec_link;
-
 
238
extern list *exec_notation;
-
 
239
extern list *exec_pl_tdf;
-
 
240
extern list *exec_pretty;
-
 
241
extern list *exec_spec_link;
-
 
242
extern list *exec_cpp_spec_link;
-
 
243
extern list *exec_split_arch;
-
 
244
extern list *exec_build_arch;
-
 
245
extern list *exec_cat;
-
 
246
extern list *exec_cc;
-
 
247
extern list *exec_mkdir;
-
 
248
extern list *exec_move;
-
 
249
extern list *exec_remove;
-
 
250
extern list *exec_touch;
-
 
251
extern list *exec_dynlink;
-
 
252
extern list *exec_dump_anal;
-
 
253
extern list *exec_dump_link;
248
 
254
 
249
/*
-
 
250
    COMMAND-LINE OPTIONS
-
 
251
 
255
 
-
 
256
/*
-
 
257
 * BUILT-IN OPTIONS
-
 
258
 *
-
 
259
 * These lists of options are built into the system, although they may be
-
 
260
 * altered by environments and command-line options.
-
 
261
 */
-
 
262
 
-
 
263
extern list *std_prod_incldirs;
-
 
264
extern list *std_prod_portfile;
-
 
265
extern list *std_prod_startdirs;
-
 
266
extern list *std_prod_startup;
-
 
267
extern list *std_cpp_prod_incldirs;
-
 
268
extern list *std_cpp_prod_startdirs;
-
 
269
extern list *std_cpp_prod_startup;
-
 
270
extern list *std_tdf_link_libdirs;
-
 
271
extern list *std_tdf_link_libs;
-
 
272
extern list *std_link_crt0;
-
 
273
extern list *std_link_crt1;
-
 
274
extern list *std_link_crtp_n;
-
 
275
extern list *std_link_crtn;
-
 
276
extern list *std_link_libdirs;
-
 
277
extern list *std_link_libs;
-
 
278
extern list *std_link_c_libs;
-
 
279
extern list *std_link_entry;
-
 
280
 
-
 
281
 
-
 
282
/*
-
 
283
 * COMMAND-LINE OPTIONS
-
 
284
 *
252
    These lists of options are those specified on the command-line.
285
 * These lists of options are those specified on the command-line.
253
*/
286
 */
254
 
287
 
255
extern list *usr_prod_incldirs ;
288
extern list *usr_prod_incldirs;
256
extern list *usr_prod_foptions ;
289
extern list *usr_prod_foptions;
257
extern list *usr_prod_eoptions ;
290
extern list *usr_prod_eoptions;
258
extern list *usr_prod_startup ;
291
extern list *usr_prod_startup;
259
extern list *usr_cpp_prod_startup ;
292
extern list *usr_cpp_prod_startup;
260
extern list *usr_pl_tdf_incldirs ;
293
extern list *usr_pl_tdf_incldirs;
261
extern list *usr_tdf_link_libdirs ;
294
extern list *usr_tdf_link_libdirs;
262
extern list *usr_tdf_link_libs ;
295
extern list *usr_tdf_link_libs;
263
extern list *usr_link_libdirs ;
296
extern list *usr_link_libdirs;
264
extern list *usr_link_libs ;
297
extern list *usr_link_libs;
265
 
298
 
266
 
299
 
267
/*
300
/*
268
    EXECUTABLE OPTIONS
301
 * EXECUTABLE OPTIONS
269
 
302
 *
270
    These lists record the command-line options which are passed
303
 * These lists record the command-line options which are passed directly to the
271
    directly to the various executables.
304
 * various executables.
272
*/
305
 */
273
 
306
 
274
extern list *opt_produce ;
307
extern list *opt_produce;
275
extern list *opt_preproc ;
308
extern list *opt_preproc;
276
extern list *opt_cpp_produce ;
309
extern list *opt_cpp_produce;
277
extern list *opt_cpp_preproc ;
310
extern list *opt_cpp_preproc;
278
extern list *opt_tdf_link ;
311
extern list *opt_tdf_link;
279
extern list *opt_translate ;
312
extern list *opt_translate;
280
extern list *opt_assemble ;
313
extern list *opt_assemble;
281
extern list *opt_assemble_mips ;
314
extern list *opt_assemble_mips;
282
extern list *opt_dynlink ;
315
extern list *opt_dynlink;
283
extern list *opt_link ;
316
extern list *opt_link;
284
extern list *opt_notation ;
317
extern list *opt_notation;
285
extern list *opt_pl_tdf ;
318
extern list *opt_pl_tdf;
286
extern list *opt_pretty ;
319
extern list *opt_pretty;
287
extern list *opt_spec_link ;
320
extern list *opt_spec_link;
288
extern list *opt_cpp_spec_link ;
321
extern list *opt_cpp_spec_link;
289
extern list *opt_dump_anal ;
322
extern list *opt_dump_anal;
290
extern list *opt_dump_link ;
323
extern list *opt_dump_link;
291
extern list *opt_archive ;
324
extern list *opt_archive;
292
extern list *opt_joiner ;
325
extern list *opt_joiner;
293
extern list *opt_cc ;
326
extern list *opt_cc;
294
extern list *opt_startup ;
327
extern list *opt_startup;
295
extern list *opt_endup ;
328
extern list *opt_endup;
296
extern list *opt_unknown ;
329
extern list *opt_unknown;
297
 
330
 
298
 
331
 
299
#endif
332
#endif