darcs patch: When booting from HC files, search includes for headers

Simon Marlow marlowsd at gmail.com
Mon Nov 9 05:53:18 EST 2009


On 08/11/2009 18:18, Matthias Kilian wrote:
> Sun Nov  8 12:02:25 CET 2009  Matthias Kilian<kili at outback.escape.de>
>    * When booting from HC files, search includes for headers

  ifeq "$(BootingFromHc)" "YES"
-SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER 
-D__GLASGOW_HASKELL__=$(ProjectVersionInt)
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -DNO_REGS -DUSE_MINIINTERPRETER 
-D__GLASGOW_HASKELL__=$(ProjectVersionInt)
  endif


I have a bad feeling about this: it looks like the wrong place to put a 
-I option.  Do you have a record of the failure that you get without 
that option?  Perhaps we can find a better place to put it.

Cheers,
	Simon



More information about the Cvs-ghc mailing list