ROSE  0.9.9.139
rose_paths.h
1 #ifndef ROSE_PATHS_H
2 #define ROSE_PATHS_H
3 
4 // DQ (4/21/2009): If this is not set then set it here.
5 // For most of ROSE usage this is set in sage3.h, but initial
6 // construction or ROSETTA used to generate ROSE requires
7 // it as well.
8 #if !defined(_FILE_OFFSET_BITS)
9  #define _FILE_OFFSET_BITS 64
10 #endif
11 
12 // DQ (4/21/2009): This must be set before sys/stat.h is included by any other header file.
13 // Use of _FILE_OFFSET_BITS macro is required on 32-bit systems to control the size of "struct stat"
14 #if !(defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64))
15  #error "The _FILE_OFFSET_BITS macro should be set before any sys/stat.h is included by any other header file!"
16 #endif
17 
18 #include <string>
19 #include "rosedll.h"
20 
21 ROSE_UTIL_API extern const std::string ROSE_GFORTRAN_PATH;
22 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_TOP_SRCDIR;
23 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_TOP_BUILDDIR;
24 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_PREFIX;
25 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_DATADIR;
26 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_BINDIR;
27 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_INCLUDEDIR;
28 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_INFODIR;
29 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_LIBDIR;
30 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_LIBEXECDIR;
31 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_LOCALSTATEDIR;
32 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_MANDIR;
33 
34 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_ABSOLUTE_PATH_TOP_SRCDIR;
35 
36 /* Additional interesting data to provide */
37 ROSE_UTIL_API extern const std::string ROSE_CONFIGURE_DATE;
38 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_BUILD_OS;
39 ROSE_UTIL_API extern const std::string ROSE_AUTOMAKE_BUILD_CPU;
40 ROSE_UTIL_API extern const std::string ROSE_OFP_VERSION_STRING;
41 
57 extern const unsigned long ROSE_NUMERIC_VERSION;
58 
59 
60 // DQ (5/2/2009): This is temporary while we work out the details of the new Graph IR nodes.
61 // #define USING_GRAPH_IR_NODES_FOR_BACKWARD_COMPATABILITY 0
62 
63 //#ifdef ROSE_USE_NEW_GRAPH_NODES
64 //#ifndef ROSE_USING_GRAPH_IR_NODES_FOR_BACKWARD_COMPATABILITY
65 //#warning "ROSE_USING_GRAPH_IR_NODES_FOR_BACKWARD_COMPATABILITY IS NOT SET"
66 //#endif
67 //#endif
68 
69 
70 #endif /* ROSE_PATHS_H */
71