Package: haskell-cabal
Severity: wishlist
Cabal should generate ghci files at build time rather than using
ghc-pkg to do it during register. This will be better for systems
like Gentoo which don't like to have any files which are not managed
by the package. Here's a bash funciton to do this, but there should
be some haskell code in ghc-pkg to do it as well:
# make a ghci foo.o file from a libfoo.a file
ghc-makeghcilib() {
local outfile
outfile="$(dirname $1)/$(basename $1 | sed 's:^lib\?\(.*\)\.a$:\1.o:')"
ld --relocatable --discard-all --output="${outfile}" --whole-archive $1
}
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]