OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [lib/] [compiler.c] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* Often the behavior of any particular test depends upon what compiler was
2
   used to compile the test.  As each test is compiled, this file is
3
   preprocessed by the same compiler used to compile that specific test
4
   (different tests might be compiled by different compilers, particularly
5
   if compiled at different times), and used to generate a *.ci (compiler
6
   info) file for that test.
7
 
8
   I.E., when callfuncs is compiled, a callfuncs.ci file will be generated,
9
   which can then be sourced by callfuncs.exp to give callfuncs.exp access
10
   to information about the compilation environment.
11
 
12
   TODO:  It might be a good idea to add expect code that tests each
13
   definition made with 'set" to see if one already exists, and if so
14
   warn about conflicts if it is being set to something else.  */
15
 
16
/* This needs to be kept in sync with whatis.c and gdb.exp(get_compiler_info).
17
   If this ends up being hairy, we could use a common header file.  */
18
 
19
#if defined (__STDC__) || defined (_AIX)
20
set signed_keyword_not_used 0
21
#else
22
set signed_keyword_not_used 1
23
#endif
24
 
25
#if defined (__GNUC__)
26
set gcc_compiled __GNUC__
27
#else
28
set gcc_compiled 0
29
#endif
30
 
31
return 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.