logo       

[ ghc-Bugs-1189354 ] GHC dies silently with faulty preprocessor: msg#00127

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1189354 ] GHC dies silently with faulty preprocessor

Bugs item #1189354, was opened at 2005-04-25 09:47
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1189354&group_id=8032

Category: Compiler
>Group: 6.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Josef Svenningsson (josefs)
>Assigned to: Simon Marlow (simonmar)
Summary: GHC dies silently with faulty preprocessor

Initial Comment:
This is perhaps a minor nuisance but I had to spend
quite some time to track down my bug. When ghc is given
a preprocessor which for some reason cannot execute
then ghc just dies silently without giving any
indication as to what the problem was. It would be nice
with a little message hinting at the problem on stderr.

Oh, and by the way, the -F flag doesn't have any
documentation. It is only mentioned together with -optF.

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-04-26 08:04

Message:
Logged In: YES
user_id=48280

Fixed, thanks for the report.

----------------------------------------------------------------------

Comment By: Josef Svenningsson (josefs)
Date: 2005-04-25 13:30

Message:
Logged In: YES
user_id=307552

Indeed, this is on windows. It happens very easily when
working on cygwin. It is very natural to use a shell script
as a preprocessor which is what I was trying to do. But
since ghc is a windows program it doesn't know what a shell
script is. Hence the failure.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-04-25 10:56

Message:
Logged In: NO

This is on Windows, I presume?

On Linux, I get:

$ ghc -F -pgmF wibble -c hello.hs
ghc-6.4: could not execute: wibble


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1189354&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise