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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [lib/] [compiler.cc] - 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
#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6))
17
set supports_template_debugging 1
18
#else
19
set supports_template_debugging 0
20
#endif
21
 
22
#if defined(__cplusplus) 
23
set supports_template_debugging 1
24
#else
25
set supports_template_debugging 0
26
#endif
27
 
28
#if defined (__GNUC__)
29
set gcc_compiled __GNUC__
30
#else
31
set gcc_compiled 0
32
#endif
33
 
34
return 0

powered by: WebSVN 2.1.0

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