5 name = "rts", /* The RTS is just another package! */
10 library_dirs = [ "$libdir"
11 # ifdef mingw32_TARGET_OS
12 /* force the dist-provided gcc-lib/ into scope. */
15 #else /* !INSTALLING */
16 library_dirs = [ "$libdir/ghc/rts"
18 , "$libdir/ghc/rts/gmp"
23 hs_libraries = [ "HSrts" ],
26 #ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
32 #ifdef mingw32_TARGET_OS
33 ,"wsock32" /* for the linker */
35 #if defined(DEBUG) && defined(HAVE_LIBBFD)
36 ,"bfd", "iberty" /* for debugging */
38 #ifdef HAVE_LIBMINGWEX
39 # ifndef INSTALLING /* Bundled Mingw is behind */
43 #if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
45 # ifdef osf3_TARGET_OS
52 include_dirs = [ "$libdir/include"
53 # ifdef mingw32_TARGET_OS
54 , "$libdir/include/mingw"
57 #else /* !INSTALLING */
58 include_dirs = [ "$libdir/ghc/includes" ],
61 c_includes = [ "Stg.h" ],
65 /* the RTS forward-references to a bunch of stuff in the prelude,
66 so we force it to be included with special options to ld. */
69 #ifdef LEADING_UNDERSCORE
70 "-u", "_GHCziBase_Izh_static_info"
71 , "-u", "_GHCziBase_Czh_static_info"
72 , "-u", "_GHCziFloat_Fzh_static_info"
73 , "-u", "_GHCziFloat_Dzh_static_info"
74 , "-u", "_GHCziPtr_Ptr_static_info"
75 , "-u", "_GHCziWord_Wzh_static_info"
76 , "-u", "_GHCziInt_I8zh_static_info"
77 , "-u", "_GHCziInt_I16zh_static_info"
78 , "-u", "_GHCziInt_I32zh_static_info"
79 , "-u", "_GHCziInt_I64zh_static_info"
80 , "-u", "_GHCziWord_W8zh_static_info"
81 , "-u", "_GHCziWord_W16zh_static_info"
82 , "-u", "_GHCziWord_W32zh_static_info"
83 , "-u", "_GHCziWord_W64zh_static_info"
84 , "-u", "_GHCziStable_StablePtr_static_info"
85 , "-u", "_GHCziBase_Izh_con_info"
86 , "-u", "_GHCziBase_Czh_con_info"
87 , "-u", "_GHCziFloat_Fzh_con_info"
88 , "-u", "_GHCziFloat_Dzh_con_info"
89 , "-u", "_GHCziPtr_Ptr_con_info"
90 , "-u", "_GHCziPtr_FunPtr_con_info"
91 , "-u", "_GHCziStable_StablePtr_con_info"
92 , "-u", "_GHCziBase_False_closure"
93 , "-u", "_GHCziBase_True_closure"
94 , "-u", "_GHCziPack_unpackCString_closure"
95 , "-u", "_GHCziIOBase_stackOverflow_closure"
96 , "-u", "_GHCziIOBase_heapOverflow_closure"
97 , "-u", "_GHCziIOBase_NonTermination_closure"
98 , "-u", "_GHCziIOBase_BlockedOnDeadMVar_closure"
99 , "-u", "_GHCziIOBase_Deadlock_closure"
100 , "-u", "_GHCziWeak_runFinalizzerBatch_closure"
101 , "-u", "___stginit_Prelude"
103 "-u", "GHCziBase_Izh_static_info"
104 , "-u", "GHCziBase_Czh_static_info"
105 , "-u", "GHCziFloat_Fzh_static_info"
106 , "-u", "GHCziFloat_Dzh_static_info"
107 , "-u", "GHCziPtr_Ptr_static_info"
108 , "-u", "GHCziWord_Wzh_static_info"
109 , "-u", "GHCziInt_I8zh_static_info"
110 , "-u", "GHCziInt_I16zh_static_info"
111 , "-u", "GHCziInt_I32zh_static_info"
112 , "-u", "GHCziInt_I64zh_static_info"
113 , "-u", "GHCziWord_W8zh_static_info"
114 , "-u", "GHCziWord_W16zh_static_info"
115 , "-u", "GHCziWord_W32zh_static_info"
116 , "-u", "GHCziWord_W64zh_static_info"
117 , "-u", "GHCziStable_StablePtr_static_info"
118 , "-u", "GHCziBase_Izh_con_info"
119 , "-u", "GHCziBase_Czh_con_info"
120 , "-u", "GHCziFloat_Fzh_con_info"
121 , "-u", "GHCziFloat_Dzh_con_info"
122 , "-u", "GHCziPtr_Ptr_con_info"
123 , "-u", "GHCziPtr_FunPtr_con_info"
124 , "-u", "GHCziStable_StablePtr_con_info"
125 , "-u", "GHCziBase_False_closure"
126 , "-u", "GHCziBase_True_closure"
127 , "-u", "GHCziPack_unpackCString_closure"
128 , "-u", "GHCziIOBase_stackOverflow_closure"
129 , "-u", "GHCziIOBase_heapOverflow_closure"
130 , "-u", "GHCziIOBase_NonTermination_closure"
131 , "-u", "GHCziIOBase_BlockedOnDeadMVar_closure"
132 , "-u", "GHCziIOBase_Deadlock_closure"
133 , "-u", "GHCziWeak_runFinalizzerBatch_closure"
134 , "-u", "__stginit_Prelude"
137 #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
138 , extra_frameworks = [ "HaskellSupport" ]