Hi Sigbjorn

would it be possible to make a few changes to prep-bin-dist-mingw
and to the way haddock/happy/alex are included in the mingw 
snapshots?

- feed prep-bin-dist-mingw from configure
    ; to get the right default settings for ghc/gcc directories, 
    ; simply ask fptools/configure.ac to process the script
    ; (could also be used to get gcc_version)

- prep-bin-dist-mingw misses a couple of things
    ; uses bash features, should be '#!/bin/bash'
    ; should copy html users_guide as well
    ; should copy glut dlls with the rest of glut

I attach a possible 'prep-bin-dist-mingw.in', which probably 
needs some additional sanity-checks, eg. if paths are empty/
wrong, or if the build was without glut. 

This is my first encounter with autoconf et. al. (beyond 
invoking them when asked to do so;-), so please take this 
with a grain of salt, but I simply dropped the .in file into 
fptools/distrib and added a line to fptools/configure.ac:

    AC_CONFIG_FILES([distrib/prep-bin-dist-mingw])

and that seemed to do the trick.

- re-package tools in mingw binary snapshots:

    - haddock can't find its auxiliary files
    ; they are not in the same dir as haddock.exe in the 
    ; current snapshots - copy from doc/html/libraries?

    - using happy/haddock/alex from ghc-6.4.1/ is problematic
    ; there's a lot of other stuff in that directory, eg. configure
    ; will be confused by finding INSTALL as install. 
    ; moving tools and their aux files to a separate directory
    ; ghc-6.4.1/tools avoids that problem
   
cheers,
claus

Attachment: prep-bin-dist-mingw.in
Description: Binary data

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

Reply via email to