[project @ 2003-04-15 14:37:12 by simonmar]
[ghc-hetmet.git] / ghc / rts / rts.conf.in
index 72bac27..298fbc2 100644 (file)
@@ -21,17 +21,30 @@ Package {
                          ],
 
         hs_libraries      = [ "HSrts" ],
-       extra_libraries   = [ "gmp"
-                           , "m"               /* for ldexp() */
+       extra_libraries   = [
+                           "m"         /* for ldexp() */
+#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
+                             , "gmp"
+#ifdef HAVE_LIBDL
+                             , "dl"
+#endif
+#endif
 #ifdef mingw32_TARGET_OS
-                             ,"winmm"          /* for the threadDelay timer */
                              ,"wsock32"        /* for the linker */
 #endif
-#ifdef USING_LIBBFD
+#if defined(DEBUG) && defined(HAVE_LIBBFD)
                              ,"bfd", "iberty"  /* for debugging */
 #endif
+#ifdef HAVE_LIBMINGWEX
+# ifndef INSTALLING                             /* Bundled Mingw is behind */
+                              ,"mingwex"
+# endif
+#endif
 #if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
                              ,"pthread"
+# ifdef osf3_TARGET_OS
+                             ,"exc"
+# endif
 #endif
                            ],
 
@@ -74,6 +87,7 @@ Package {
          , "-u", "_GHCziFloat_Fzh_con_info"
          , "-u", "_GHCziFloat_Dzh_con_info"
          , "-u", "_GHCziPtr_Ptr_con_info"
+         , "-u", "_GHCziPtr_FunPtr_con_info"
          , "-u", "_GHCziStable_StablePtr_con_info"
          , "-u", "_GHCziBase_False_closure"
          , "-u", "_GHCziBase_True_closure"
@@ -106,6 +120,7 @@ Package {
          , "-u", "GHCziFloat_Fzh_con_info"
          , "-u", "GHCziFloat_Dzh_con_info"
          , "-u", "GHCziPtr_Ptr_con_info"
+         , "-u", "GHCziPtr_FunPtr_con_info"
          , "-u", "GHCziStable_StablePtr_con_info"
          , "-u", "GHCziBase_False_closure"
          , "-u", "GHCziBase_True_closure"
@@ -119,4 +134,7 @@ Package {
          , "-u", "__stginit_Prelude"
 #endif
          ]
+#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
+        , extra_frameworks  = [ "HaskellSupport" ]
+#endif
 }