Package: ghc6
Version: 6.6.1-2
Severity: normal

[EMAIL PROTECTED]:~>runghc -fno-glasgow-exts foo.hs               
zsh: exit 127   runghc -fno-glasgow-exts foo.hs

Turns out that -f is overloaded to be the path to the ghc program. (Would be
nice if runghc had a man page, BTW.) The above is its way of indicating that
it failed to run "no-glasgow-exts".

So to specify a -f parameter, some contortions are needed. This doesn't work:

runghc -- -fno-glasgow-exts foo.hs

This works, but *yuck*:

runghc -f/usr/bin/ghc -fno-glasgow-exts foo.hs

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghc6 depends on:
ii  gcc                       4:4.2.2-1      The GNU C compiler
ii  haskell-utils             1.9            Utilities used by the Debian Haske
ii  libc6                     2.7-5          GNU C Library: Shared libraries
ii  libgmp3-dev               2:4.2.2+dfsg-1 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.2.2+dfsg-1 Multiprecision arithmetic library
ii  libncurses5               5.6+20071215-1 Shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libreadline5-dev          5.2-3          GNU readline and history libraries
ii  perl [perl5]              5.8.8-12       Larry Wall's Practical Extraction 

ghc6 recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to