On Fri, 9 Nov 2001, Sigbjorn Finne wrote: > Hi, > > couple of things: > > * you don't have to side-effect mk/config.mk{.in} to make > any changes to the definitions in there. Just create your own > mk/build.mk and add definitions of variables you need for > your build tree to work/behave as expected. The build.mk > defns override those in mk/config.mk > > (see 5.3 of the GHC Building Guide for more). > *slapping the forehead* Yes, ofcourse.
> * the break you're seeing is due to the GHC native code generator > not being able to handle Int16-sized values internally. My suggested > fix for the problem you're running into would be not to change > the options given to Happy, but to GHC - i.e., have it generate code > via C (==> add -fvia-C to rename/ParseIface_HC_OPTS and > parser/Parser_HC_OPTS in ghc/compiler/Makefile). > > I've committed the latter fix. > I actually tried to do it but I guess I don't know my way around the makefile system well enough yet. Sorry for filling you mailboxes with stupid questions... But thanks anyway for the fix! Cheers, /Josef _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs