summaryrefslogtreecommitdiff
path: root/hadrian/cfg/system.config.in
blob: 4cae2b67833478dd2719c6e2c034ba1accb61d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# This file is processed by the configure script.
# See hadrian/src/UserSettings.hs for user-defined settings.
#===========================================================

# Paths to builders:
#===================

alex           = @AlexCmd@
ar             = @ArCmd@
autoreconf     = @AutoreconfCmd@
cc             = @CC@
happy          = @HappyCmd@
hs-cpp         = @HaskellCPPCmd@
ld             = @LdCmd@
make           = @MakeCmd@
nm             = @NmCmd@
objdump        = @ObjdumpCmd@
ranlib         = @REAL_RANLIB_CMD@
sphinx-build   = @SPHINXBUILD@
system-ar      = @AR_STAGE0@
system-cc      = @CC_STAGE0@
system-ghc     = @WithGhc@
system-ghc-pkg = @GhcPkgCmd@
tar            = @TarCmd@
patch          = @PatchCmd@
perl           = @PerlCmd@
xelatex        = @XELATEX@

# Python 3 is required to run test driver.
# See: https://github.com/ghc/ghc/blob/master/testsuite/mk/boilerplate.mk#L220
python         = python3

# Information about builders:
#============================

ar-supports-at-file = @ArSupportsAtFile@
cc-clang-backend    = @CC_CLANG_BACKEND@
cc-llvm-backend     = @CC_LLVM_BACKEND@
gcc-is-clang        = @GccIsClang@
hs-cpp-args         = @HaskellCPPArgs@

# Build options:
#===============

solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@
split-objects-broken = @SplitObjsBroken@
ghc-unregisterised   = @Unregisterised@
ghc-source-path      = @hardtop@
leading-underscore   = @LeadingUnderscore@

# Information about build, host and target systems:
#==================================================

build-platform        = @BuildPlatform@
build-arch            = @BuildArch_CPP@
build-os              = @BuildOS_CPP@
build-vendor          = @BuildVendor_CPP@

host-platform         = @HostPlatform@
host-arch             = @HostArch_CPP@
host-os               = @HostOS_CPP@
host-vendor           = @HostVendor_CPP@

target-platform       = @TargetPlatform@
target-platform-full  = @TargetPlatformFull@
target-arch           = @TargetArch_CPP@
target-os             = @TargetOS_CPP@
target-vendor         = @TargetVendor_CPP@
llvm-target           = @LLVMTarget_CPP@

cross-compiling       = @CrossCompiling@

dynamic-extension     = @soext_target@

ghc-version           = @GhcVersion@
ghc-major-version     = @GhcMajVersion@
ghc-minor-version     = @GhcMinVersion@
ghc-patch-level       = @GhcPatchLevel@

supports-this-unit-id = @SUPPORTS_THIS_UNIT_ID@

project-name          = @ProjectName@
project-version       = @ProjectVersion@
project-version-int   = @ProjectVersionInt@
project-patch-level   = @ProjectPatchLevel@
project-patch-level1  = @ProjectPatchLevel1@
project-patch-level2  = @ProjectPatchLevel2@
project-git-commit-id = @ProjectGitCommitId@

# Compilation and linking flags:
#===============================

conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@
conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@
conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@
conf-cc-args-stage3         = @CONF_CC_OPTS_STAGE3@

conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@
conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@
conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@
conf-cpp-args-stage3        = @CONF_CPP_OPTS_STAGE3@

conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@
conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@
conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@
conf-gcc-linker-args-stage3 = @CONF_GCC_LINKER_OPTS_STAGE3@

conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@
conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@
conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@
conf-ld-linker-args-stage3  = @CONF_LD_LINKER_OPTS_STAGE3@

# Include and library directories:
#=================================

curses-lib-dir    = @CURSES_LIB_DIRS@

iconv-include-dir = @ICONV_INCLUDE_DIRS@
iconv-lib-dir     = @ICONV_LIB_DIRS@

intree-gmp              = @GMP_FORCE_INTREE@
gmp-framework-preferred = @GMP_PREFER_FRAMEWORK@
gmp-include-dir         = @GMP_INCLUDE_DIRS@
gmp-lib-dir             = @GMP_LIB_DIRS@

use-system-ffi    = @UseSystemLibFFI@
ffi-include-dir   = @FFIIncludeDir@
ffi-lib-dir       = @FFILibDir@

# Optional Dependencies:
#=======================

with-libdw = @UseLibdw@
have-lib-mingw-ex = @HaveLibMingwEx@