X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fghci%2FInteractiveUI.hs;h=8ec1362d3854012390dd03b61e67b96d9d73f93a;hb=643a2f7089ce22012df23c161702f9e6b6da6792;hp=162dfc207c2ab4dec3d26db7250499b0c1889536;hpb=b02102f29e8043e74eef7108f75b07fe643a77aa;p=ghc-hetmet.git diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 162dfc2..8ec1362 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,6 +1,6 @@ {-# OPTIONS -#include "Linker.h" -#include "SchedAPI.h" #-} ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.125 2002/06/04 18:09:00 sof Exp $ +-- $Id: InteractiveUI.hs,v 1.126 2002/06/12 22:04:25 wolfgang Exp $ -- -- GHC Interactive User Interface -- @@ -998,6 +998,9 @@ ghciUnblock (GHCi a) = GHCi $ \s -> Exception.unblock (a s) -- directories specified in v_Library_Paths before giving up. data LibrarySpec = Object FilePath | DLL String +#ifdef darwin_TARGET_OS + | Framework String +#endif -- Packages that don't need loading, because the compiler shares them with -- the interpreted program. @@ -1015,6 +1018,9 @@ loaded_in_ghci showLS (Object nm) = "(static) " ++ nm showLS (DLL nm) = "(dynamic) " ++ nm +#ifdef darwin_TARGET_OS +showLS (Framework nm) = "(framework) " ++ nm +#endif linkPackages :: DynFlags -> [LibrarySpec] -> [PackageConfig] -> IO () linkPackages dflags cmdline_lib_specs pkgs