1 /* The RTS is just another package! */
9 maintainer: glasgow-haskell-users@haskell.org
18 library-dirs: LIB_DIR PAPI_LIB_DIR
19 # ifdef mingw32_HOST_OS
21 /* force the dist-provided gcc-lib/ into scope. */
23 #else /* !INSTALLING */
24 library-dirs: TOP"/rts/dist/build" PAPI_LIB_DIR
29 extra-libraries: "m" /* for ldexp() */
33 #ifdef mingw32_HOST_OS
34 ,"wsock32" /* for the linker */
36 #ifdef WANT_DOTNET_SUPPORT
37 , "oleaut32", "ole32", "uuid"
39 #if defined(DEBUG) && defined(HAVE_LIBBFD)
40 ,"bfd", "iberty" /* for debugging */
42 #ifdef HAVE_LIBMINGWEX
43 # ifndef INSTALLING /* Bundled Mingw is behind */
52 include-dirs: INCLUDE_DIR PAPI_INCLUDE_DIR
53 #else /* !INSTALLING */
54 include-dirs: TOP"/includes"
63 #ifdef LEADING_UNDERSCORE
64 "-u", "_ghczmprim_GHCziTypes_Izh_static_info"
65 , "-u", "_ghczmprim_GHCziTypes_Czh_static_info"
66 , "-u", "_ghczmprim_GHCziTypes_Fzh_static_info"
67 , "-u", "_ghczmprim_GHCziTypes_Dzh_static_info"
68 , "-u", "_base_GHCziPtr_Ptr_static_info"
69 , "-u", "_base_GHCziWord_Wzh_static_info"
70 , "-u", "_base_GHCziInt_I8zh_static_info"
71 , "-u", "_base_GHCziInt_I16zh_static_info"
72 , "-u", "_base_GHCziInt_I32zh_static_info"
73 , "-u", "_base_GHCziInt_I64zh_static_info"
74 , "-u", "_base_GHCziWord_W8zh_static_info"
75 , "-u", "_base_GHCziWord_W16zh_static_info"
76 , "-u", "_base_GHCziWord_W32zh_static_info"
77 , "-u", "_base_GHCziWord_W64zh_static_info"
78 , "-u", "_base_GHCziStable_StablePtr_static_info"
79 , "-u", "_ghczmprim_GHCziTypes_Izh_con_info"
80 , "-u", "_ghczmprim_GHCziTypes_Czh_con_info"
81 , "-u", "_ghczmprim_GHCziTypes_Fzh_con_info"
82 , "-u", "_ghczmprim_GHCziTypes_Dzh_con_info"
83 , "-u", "_base_GHCziPtr_Ptr_con_info"
84 , "-u", "_base_GHCziPtr_FunPtr_con_info"
85 , "-u", "_base_GHCziStable_StablePtr_con_info"
86 , "-u", "_ghczmprim_GHCziBool_False_closure"
87 , "-u", "_ghczmprim_GHCziBool_True_closure"
88 , "-u", "_base_GHCziPack_unpackCString_closure"
89 , "-u", "_base_GHCziIOziException_stackOverflow_closure"
90 , "-u", "_base_GHCziIOziException_heapOverflow_closure"
91 , "-u", "_base_ControlziExceptionziBase_nonTermination_closure"
92 , "-u", "_base_GHCziIOziException_blockedOnDeadMVar_closure"
93 , "-u", "_base_GHCziIOziException_blockedIndefinitely_closure"
94 , "-u", "_base_ControlziExceptionziBase_nestedAtomically_closure"
95 , "-u", "_base_GHCziWeak_runFinalizzerBatch_closure"
96 , "-u", "_base_GHCziTopHandler_runIO_closure"
97 , "-u", "_base_GHCziTopHandler_runNonIO_closure"
98 , "-u", "_base_GHCziConc_ensureIOManagerIsRunning_closure"
99 , "-u", "_base_GHCziConc_runSparks_closure"
100 , "-u", "_base_GHCziConc_runHandlers_closure"
102 "-u", "ghczmprim_GHCziTypes_Izh_static_info"
103 , "-u", "ghczmprim_GHCziTypes_Czh_static_info"
104 , "-u", "ghczmprim_GHCziTypes_Fzh_static_info"
105 , "-u", "ghczmprim_GHCziTypes_Dzh_static_info"
106 , "-u", "base_GHCziPtr_Ptr_static_info"
107 , "-u", "base_GHCziWord_Wzh_static_info"
108 , "-u", "base_GHCziInt_I8zh_static_info"
109 , "-u", "base_GHCziInt_I16zh_static_info"
110 , "-u", "base_GHCziInt_I32zh_static_info"
111 , "-u", "base_GHCziInt_I64zh_static_info"
112 , "-u", "base_GHCziWord_W8zh_static_info"
113 , "-u", "base_GHCziWord_W16zh_static_info"
114 , "-u", "base_GHCziWord_W32zh_static_info"
115 , "-u", "base_GHCziWord_W64zh_static_info"
116 , "-u", "base_GHCziStable_StablePtr_static_info"
117 , "-u", "ghczmprim_GHCziTypes_Izh_con_info"
118 , "-u", "ghczmprim_GHCziTypes_Czh_con_info"
119 , "-u", "ghczmprim_GHCziTypes_Fzh_con_info"
120 , "-u", "ghczmprim_GHCziTypes_Dzh_con_info"
121 , "-u", "base_GHCziPtr_Ptr_con_info"
122 , "-u", "base_GHCziPtr_FunPtr_con_info"
123 , "-u", "base_GHCziStable_StablePtr_con_info"
124 , "-u", "ghczmprim_GHCziBool_False_closure"
125 , "-u", "ghczmprim_GHCziBool_True_closure"
126 , "-u", "base_GHCziPack_unpackCString_closure"
127 , "-u", "base_GHCziIOziException_stackOverflow_closure"
128 , "-u", "base_GHCziIOziException_heapOverflow_closure"
129 , "-u", "base_ControlziExceptionziBase_nonTermination_closure"
130 , "-u", "base_GHCziIOziException_blockedOnDeadMVar_closure"
131 , "-u", "base_GHCziIOziException_blockedIndefinitely_closure"
132 , "-u", "base_ControlziExceptionziBase_nestedAtomically_closure"
133 , "-u", "base_GHCziWeak_runFinalizzerBatch_closure"
134 , "-u", "base_GHCziTopHandler_runIO_closure"
135 , "-u", "base_GHCziTopHandler_runNonIO_closure"
136 , "-u", "base_GHCziConc_ensureIOManagerIsRunning_closure"
137 , "-u", "base_GHCziConc_runSparks_closure"
138 , "-u", "base_GHCziConc_runHandlers_closure"
141 /* Pick up static libraries in preference over dynamic if in earlier search
142 * path. This is important to use the static gmp in preference on Mac OS.
143 * The used option is specific to the Darwin linker.
145 #ifdef darwin_BUILD_OS
146 , "-Wl,-search_paths_first"
149 #ifdef darwin_HOST_OS
150 , "-read_only_relocs", "warning"