a useful reference point for other windows ghc builders looking for
a place of rest in the storm of recent changes. make goes through, and compiler/stage2/ghc-inplace --interactive can be started, with:

   $ darcs changes --last=1
   plink: unknown option "-O"
   Thu May  3 14:36:54 GMT Daylight Time 2007  Ian Lynagh <[EMAIL PROTECTED]>
     * Add a little documentation to the libraries/Makefile

now for the bad news. 'make binary-dist' goes through (*), as well, but the result still looks incomplete:

   $ ghc-6.7.20070503/bin/ghcii.sh
      ___         ___ _
     / _ \ /\  /\/ __(_)
    / /_\// /_/ / /  | |    GHC Interactive, version 6.7.20070503, for Haskell 
98.
   / /_\\/ __  / /___| |    http://www.haskell.org/ghc/
   \____/\/ /_/\____/|_|    Type :? for help.
<interactive>:1:22:
       Failed to load interface for `System.IO':
         it is not a module in the current program, or in any known package.
   ghc.exe: panic! (the 'impossible' happened)
     (GHC version 6.7.20070503 for i386-unknown-mingw32):
           interactiveUI:setBuffering
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

   $ ghc-6.7.20070503/bin/ghc-pkg.exe list
   c:/fptools/ghc2/ghc-6.7.20070503\package.conf:
       {ghc-6.7.20070503}, rts-1.0

is this in the simply-not-done-yet category, or unexpected?

claus

(*) i still have one related local change that doesn't seem to have been
   superceded by official patches (or has it? it is about skipping packages
   in 'make binary-dist' if they weren't built in 'make'):

$ darcs whatsnew
plink: unknown option "-O"
{
hunk ./Makefile 389
-       $(MKDIRHIER) $(BIN_DIST_LIBDIR)/$*/setup
-       cp    libraries/$*/setup/Setup   $(BIN_DIST_LIBDIR)/$*/setup
-       cp    libraries/$*/*.cabal       $(BIN_DIST_LIBDIR)/$*
-       cp -a libraries/$*/dist          $(BIN_DIST_LIBDIR)/$*
-       find $(BIN_DIST_LIBDIR)/$*/dist \
-            \( \( -name "*.o" -o -name "*.p_o" \) -a \! -name "HS*" \) \
-            -exec rm {} \;
+       @if test -d libraries/$*/dist; then \
+           $(MKDIRHIER) $(BIN_DIST_LIBDIR)/$*/setup; \
+           cp    libraries/$*/setup/Setup   $(BIN_DIST_LIBDIR)/$*/setup; \
+           cp    libraries/$*/*.cabal       $(BIN_DIST_LIBDIR)/$*; \
+           cp -a libraries/$*/dist          $(BIN_DIST_LIBDIR)/$*; \
+           find $(BIN_DIST_LIBDIR)/$*/dist \
+                    \( \( -name "*.o" -o -name "*.p_o" \) -a \! -name "HS*" \) 
\
+                    -exec rm {} \; ; \
+       else \
+           echo "skipping libraries/$* (no dist/ dir)"; \
+       fi
}

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to