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" ],
24 extra_libraries = [ "gmp"
25 , "m" /* for ldexp() */
26 #ifdef mingw32_TARGET_OS
27 ,"winmm" /* for the threadDelay timer */
28 ,"wsock32" /* for the linker */
30 #if defined(DEBUG) && defined(HAVE_LIBBFD)
31 ,"bfd", "iberty" /* for debugging */
33 #ifdef HAVE_LIBMINGWEX
34 # ifndef INSTALLING /* Bundled Mingw is behind */
38 #if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
40 # ifdef osf3_TARGET_OS
47 include_dirs = [ "$libdir/include"
48 # ifdef mingw32_TARGET_OS
49 , "$libdir/include/mingw"
52 #else /* !INSTALLING */
53 include_dirs = [ "$libdir/ghc/includes" ],
56 c_includes = [ "Stg.h" ],
60 /* the RTS forward-references to a bunch of stuff in the prelude,
61 so we force it to be included with special options to ld. */
64 #ifdef LEADING_UNDERSCORE
65 "-u", "_GHCziBase_Izh_static_info"
66 , "-u", "_GHCziBase_Czh_static_info"
67 , "-u", "_GHCziFloat_Fzh_static_info"
68 , "-u", "_GHCziFloat_Dzh_static_info"
69 , "-u", "_GHCziPtr_Ptr_static_info"
70 , "-u", "_GHCziWord_Wzh_static_info"
71 , "-u", "_GHCziInt_I8zh_static_info"
72 , "-u", "_GHCziInt_I16zh_static_info"
73 , "-u", "_GHCziInt_I32zh_static_info"
74 , "-u", "_GHCziInt_I64zh_static_info"
75 , "-u", "_GHCziWord_W8zh_static_info"
76 , "-u", "_GHCziWord_W16zh_static_info"
77 , "-u", "_GHCziWord_W32zh_static_info"
78 , "-u", "_GHCziWord_W64zh_static_info"
79 , "-u", "_GHCziStable_StablePtr_static_info"
80 , "-u", "_GHCziBase_Izh_con_info"
81 , "-u", "_GHCziBase_Czh_con_info"
82 , "-u", "_GHCziFloat_Fzh_con_info"
83 , "-u", "_GHCziFloat_Dzh_con_info"
84 , "-u", "_GHCziPtr_Ptr_con_info"
85 , "-u", "_GHCziStable_StablePtr_con_info"
86 , "-u", "_GHCziBase_False_closure"
87 , "-u", "_GHCziBase_True_closure"
88 , "-u", "_GHCziPack_unpackCString_closure"
89 , "-u", "_GHCziIOBase_stackOverflow_closure"
90 , "-u", "_GHCziIOBase_heapOverflow_closure"
91 , "-u", "_GHCziIOBase_NonTermination_closure"
92 , "-u", "_GHCziIOBase_BlockedOnDeadMVar_closure"
93 , "-u", "_GHCziIOBase_Deadlock_closure"
94 , "-u", "_GHCziWeak_runFinalizzerBatch_closure"
95 , "-u", "___stginit_Prelude"
97 "-u", "GHCziBase_Izh_static_info"
98 , "-u", "GHCziBase_Czh_static_info"
99 , "-u", "GHCziFloat_Fzh_static_info"
100 , "-u", "GHCziFloat_Dzh_static_info"
101 , "-u", "GHCziPtr_Ptr_static_info"
102 , "-u", "GHCziWord_Wzh_static_info"
103 , "-u", "GHCziInt_I8zh_static_info"
104 , "-u", "GHCziInt_I16zh_static_info"
105 , "-u", "GHCziInt_I32zh_static_info"
106 , "-u", "GHCziInt_I64zh_static_info"
107 , "-u", "GHCziWord_W8zh_static_info"
108 , "-u", "GHCziWord_W16zh_static_info"
109 , "-u", "GHCziWord_W32zh_static_info"
110 , "-u", "GHCziWord_W64zh_static_info"
111 , "-u", "GHCziStable_StablePtr_static_info"
112 , "-u", "GHCziBase_Izh_con_info"
113 , "-u", "GHCziBase_Czh_con_info"
114 , "-u", "GHCziFloat_Fzh_con_info"
115 , "-u", "GHCziFloat_Dzh_con_info"
116 , "-u", "GHCziPtr_Ptr_con_info"
117 , "-u", "GHCziStable_StablePtr_con_info"
118 , "-u", "GHCziBase_False_closure"
119 , "-u", "GHCziBase_True_closure"
120 , "-u", "GHCziPack_unpackCString_closure"
121 , "-u", "GHCziIOBase_stackOverflow_closure"
122 , "-u", "GHCziIOBase_heapOverflow_closure"
123 , "-u", "GHCziIOBase_NonTermination_closure"
124 , "-u", "GHCziIOBase_BlockedOnDeadMVar_closure"
125 , "-u", "GHCziIOBase_Deadlock_closure"
126 , "-u", "GHCziWeak_runFinalizzerBatch_closure"
127 , "-u", "__stginit_Prelude"