Bugs item #1189354, was opened at 2005-04-25 11:47 Message generated for change (Comment added) made by josefs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1189354&group_id=8032
Category: Compiler Group: None Status: Open Resolution: None Priority: 5 Submitted By: Josef Svenningsson (josefs) Assigned to: Nobody/Anonymous (nobody) 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: Josef Svenningsson (josefs) Date: 2005-04-25 15: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 12: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 _______________________________________________ Glasgow-haskell-bugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
