Add CcClangBackend and CcLlvmBackend settings.
[hadrian.git] / cfg / system.config.in
1 # Edit 'user.config' to override these settings.\r
2 #===============================================\r
3 \r
4 # Paths to builders:\r
5 #===================\r
6 \r
7 system-ghc     = @WithGhc@\r
8 ghc-stage1     = inplace/bin/ghc-stage1\r
9 ghc-stage2     = inplace/bin/ghc-stage2\r
10 ghc-stage3     = inplace/bin/ghc-stage3\r
11 \r
12 system-gcc     = @CC_STAGE0@\r
13 gcc            = @WhatGccIsCalled@\r
14 \r
15 system-ghc-pkg = @GhcPkgCmd@\r
16 ghc-pkg        = inplace/bin/ghc-pkg\r
17 \r
18 ghc-cabal      = inplace/bin/ghc-cabal\r
19 \r
20 haddock        = inplace/bin/haddock\r
21 \r
22 hsc2hs         = inplace/bin/hsc2hs\r
23 \r
24 genprimopcode  = inplace/bin/genprimopcode\r
25 \r
26 hs-cpp         = @HaskellCPPCmd@\r
27 hs-cpp-args    = @HaskellCPPArgs@\r
28 \r
29 unlit          = inplace/lib/unlit\r
30 ghc-split      = inplace/lib/ghc-split\r
31 \r
32 ld             = @LdCmd@\r
33 ar             = @ArCmd@\r
34 alex           = @AlexCmd@\r
35 happy          = @HappyCmd@\r
36 hscolour       = @HSCOLOUR@\r
37 \r
38 # Information about builders:\r
39 #============================\r
40 \r
41 gcc-is-clang        = @GccIsClang@\r
42 gcc-lt-46           = @GccLT46@\r
43 ar-supports-at-file = @ArSupportsAtFile@\r
44 cc-llvm-backend     = @CC_LLVM_BACKEND@\r
45 cc-clang-backend    = @CC_CLANG_BACKEND@\r
46 \r
47 # Build options:\r
48 #===============\r
49 \r
50 supports-component-id = @SUPPORTS_COMPONENT_ID@\r
51 solaris-broken-shld   = @SOLARIS_BROKEN_SHLD@\r
52 split-objects-broken  = @SplitObjsBroken@\r
53 ghc-unregisterised    = @Unregisterised@\r
54 ghc-source-path       = @hardtop@\r
55 leading-underscore    = @LeadingUnderscore@\r
56 \r
57 # Information about build, host and target systems:\r
58 #==================================================\r
59 \r
60 build-platform        = @BuildPlatform@\r
61 build-arch            = @BuildArch_CPP@\r
62 build-os              = @BuildOS_CPP@\r
63 build-vendor          = @BuildVendor_CPP@\r
64 \r
65 host-platform         = @HostPlatform@\r
66 host-arch             = @HostArch_CPP@\r
67 host-os               = @HostOS_CPP@\r
68 host-vendor           = @HostVendor_CPP@\r
69 \r
70 target-platform       = @TargetPlatform@\r
71 target-platform-full  = @TargetPlatformFull@\r
72 target-arch           = @TargetArch_CPP@\r
73 target-os             = @TargetOS_CPP@\r
74 target-vendor         = @TargetVendor_CPP@\r
75 \r
76 cross-compiling       = @CrossCompiling@\r
77 \r
78 dynamic-extension     = @soext_target@\r
79 \r
80 ghc-version           = @GhcVersion@\r
81 ghc-major-version     = @GhcMajVersion@\r
82 ghc-minor-version     = @GhcMinVersion@\r
83 ghc-patch-level       = @GhcPatchLevel@\r
84 \r
85 project-name          = @ProjectName@\r
86 project-version       = @ProjectVersion@\r
87 project-version-int   = @ProjectVersionInt@\r
88 project-patch-level   = @ProjectPatchLevel@\r
89 project-patch-level1  = @ProjectPatchLevel1@\r
90 project-patch-level2  = @ProjectPatchLevel2@\r
91 project-git-commit-id = @ProjectGitCommitId@\r
92 \r
93 \r
94 # Compilation and linking flags:\r
95 #===============================\r
96 \r
97 conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@\r
98 conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@\r
99 conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@\r
100 \r
101 conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@\r
102 conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@\r
103 conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@\r
104 \r
105 conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@\r
106 conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@\r
107 conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@\r
108 \r
109 conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@\r
110 conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@\r
111 conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@\r
112 \r
113 # Include and library directories:\r
114 #=================================\r
115 \r
116 iconv-include-dirs = @ICONV_INCLUDE_DIRS@\r
117 iconv-lib-dirs     = @ICONV_LIB_DIRS@\r
118 \r
119 gmp-include-dirs   = @GMP_INCLUDE_DIRS@\r
120 gmp-lib-dirs       = @GMP_LIB_DIRS@\r
121 \r
122 \r
123 # Optional Dependencies:\r
124 #=======================\r
125 \r
126 with-libdw         = @HaveLibdw@\r