Add new configuration flags for generating Config.hs.
[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     = @hardtop@/inplace/bin/ghc-stage1\r
9 ghc-stage2     = @hardtop@/inplace/bin/ghc-stage2\r
10 ghc-stage3     = @hardtop@/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        = @hardtop@/inplace/bin/ghc-pkg\r
17 \r
18 ghc-cabal      = @hardtop@/inplace/bin/ghc-cabal\r
19 \r
20 haddock        = @hardtop@/inplace/bin/haddock\r
21 \r
22 hsc2hs         = @hardtop@/inplace/bin/hsc2hs\r
23 \r
24 genprimopcode  = @hardtop@/inplace/bin/genprimopcode\r
25 \r
26 ld             = @LdCmd@\r
27 ar             = @ArCmd@\r
28 alex           = @AlexCmd@\r
29 happy          = @HappyCmd@\r
30 hscolour       = @HSCOLOUR@\r
31 \r
32 # Information about builders:\r
33 #============================\r
34 \r
35 gcc-is-clang = @GccIsClang@\r
36 gcc-lt-46    = @GccLT46@\r
37 \r
38 # Build options:\r
39 #===============\r
40 \r
41 supports-package-key = @SUPPORTS_PACKAGE_KEY@\r
42 solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@\r
43 split-objects-broken = @SplitObjsBroken@\r
44 ghc-unregisterised   = @Unregisterised@\r
45 ghc-source-path      = @hardtop@\r
46 \r
47 # Information about host and target systems:\r
48 #===========================================\r
49 \r
50 target-os             = @TargetOS_CPP@\r
51 target-arch           = @TargetArch_CPP@\r
52 target-platform-full  = @TargetPlatformFull@\r
53 \r
54 host-os               = @HostOS_CPP@\r
55 host-arch             = @HostArch_CPP@\r
56 \r
57 cross-compiling       = @CrossCompiling@\r
58 \r
59 dynamic-extension     = @soext_target@\r
60 \r
61 ghc-version           = @GhcVersion@\r
62 ghc-major-version     = @GhcMajVersion@\r
63 ghc-minor-version     = @GhcMinVersion@\r
64 ghc-patch-level       = @GhcPatchLevel@\r
65 \r
66 project-name          = @ProjectName@\r
67 project-version       = @ProjectVersion@\r
68 project-version-int   = @ProjectVersionInt@\r
69 project-patch-level   = @ProjectPatchLevel@\r
70 project-patch-level1  = @ProjectPatchLevel1@\r
71 project-patch-level2  = @ProjectPatchLevel2@\r
72 project-git-commit-id = @ProjectGitCommitId@\r
73 \r
74 \r
75 # Compilation and linking flags:\r
76 #===============================\r
77 \r
78 conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@\r
79 conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@\r
80 conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@\r
81 \r
82 conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@\r
83 conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@\r
84 conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@\r
85 \r
86 conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@\r
87 conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@\r
88 conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@\r
89 \r
90 conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@\r
91 conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@\r
92 conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@\r
93 \r
94 # Include and library directories:\r
95 #=================================\r
96 \r
97 iconv-include-dirs = @ICONV_INCLUDE_DIRS@\r
98 iconv-lib-dirs     = @ICONV_LIB_DIRS@\r
99 \r
100 gmp-include-dirs   = @GMP_INCLUDE_DIRS@\r
101 gmp-lib-dirs       = @GMP_LIB_DIRS@\r