|
Re: trying to get a registerised alpha build: msg#00153lang.haskell.glasgow.bugs
Duncan Coutts wrote: What would you recommend is the bat way for us to verify that each bit I usually do this in one big step. Regarding debugging, I just wrote this wiki page: http://hackage.haskell.org/trac/ghc/wiki/DebuggingGhcCrashes That should tell you everything you need to know, please feel free to expand it as you discover things. Is it possible to build without tailcalls (ie using the Certainly. I think if you use -optc-DUSE_MINIINTERPRETER and -fno-asm-mangling everywhere, that should get you registers but no mangling or tail calls. Or how TABLES_NEXT_TO_CODE requires the mangler. You can certainly turn on tail calls and mangling without registers; either set the register mappings in MachRegs.h to empty, or just use -optc-DNO_REGS everywhere. What's the best way of building stage1/stage2 ghc and all the C code it It should be possible to compile via C with debugging info as long as you're not using the mangler, but I don't think I've ever done it. Just add -optc-g to SRC_HC_OPTS. We're using this mk/build.mk: There's no such way as 'debug', except for the RTS. So this probably doesn't do anything. SplitObjs = NO Great! Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #737: Pattern match failure in coreSyn/CoreUtils.lhs, GHC |
|---|---|
| Next by Date: | Re: [GHC] #628: Make ordinary libraries work with SMP RTS, GHC |
| Previous by Thread: | Re: trying to get a registerised alpha build, Duncan Coutts |
| Next by Thread: | Re: trying to get a registerised alpha build, Duncan Coutts |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |