cvs commit: hugs98/libraries/tools HugsSetup.hs
Ross Paterson
ross at haskell.org
Wed Dec 15 09:04:56 EST 2004
ross 2004/12/15 06:04:56 PST
Added files:
libraries/tools HugsSetup.hs
Log:
A prototype Cabal setup script for Hugs. Much of this is adapted from
Distribution.Simple, and hopefully some of it will migrate back.
The configure step differs from Simple as follows:
* extra --builddir option to specify where the build goes
* configure runs ./configure if present, passing it any unrecognized options
* then reads build parameters from Setup.buildinfo, if present
* the build directory and build parameters are stashed in LocalBuildInfo
* the --with-compiler option can be use to specify ffihugs
User packages go in $HOME/hugs/packages/<pkg>
(add {Home}/hugs/packages/* to your path)
(don't know the equivalent of $HOME on Windows)
Not yet implemented:
* executables
* installed package descriptions
* source distributions
* won't work on Windows, and assumes gcc
* package versions (probably won't be supported for some time)
Missing features compared with hugs-package:
* doesn't use hugs/exclude
* doesn't use *_hsc_make.c if present
* can't handle system-dependent package dependencies (e.g. HGL)
More information about the Cvs-hugs
mailing list