RE: incremental linking?

2003-01-27 Thread Simon Marlow
[Simon] might be worth adding to the docs (title: linking times on Suns, Sun's ld vs GNU ld; explanation: see previous mails)? See http://www.haskell.org/ghc/docs/latest/html/users_guide/faq.html specifically the last question. Cheers, Simon

RE: problem using ffi with profiling

2003-01-27 Thread Simon Marlow
I'm having difficulty compiling something with profiling which uses ffi. It compiles fine without profiling, but not with: ... Any idea why there would be a difference? Not sure. Could you send the output with -v? Cheers, Simon ___

RE: Profiling trouble

2003-01-27 Thread Simon Marlow
With 5.04 I get almost the same, look: COST CENTREMODULE %time %alloc showData1 Main 87.1 89.2 ncEps Epsilon3.63.4 cutAbove4 Tcsa

RE: problem using ffi with profiling

2003-01-27 Thread Hal Daume III
Sure. The relevant files look like: CMU_LM.hs: ... import CTypes import IOExts ... foreign import ccall lm_bridge.h queryLanguageModel2 c__queryLanguageModel2 :: CUShort - CUShort - CUShort - IO Double ... lm_bridge.h: ... #include pc_libs/pc_general.h #include

RE: problem using ffi with profiling

2003-01-27 Thread Hal Daume III
Aha, that's it. Thanks. - Hal -- Hal Daume III Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes. -Dijkstra | www.isi.edu/~hdaume On Mon, 27 Jan 2003, Simon Marlow wrote: Sure. The relevant files look like: [... snipped ...]