heap profiling with nhc98-1.0pre18



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Wed, 19 Apr 2000 18:33:10 +0100


> Undefined symbol: PM_DErrNo Yes, this bug is an unforeseen consequence of recent changes related to error messages. I'll fix it properly soon, but in the meantime, here's a workaround. Assuming you have already built all the normal profiling components, do the following: ( cd src/prelude/PreludeIO; ../../../script/nhc98 -c -p +CTS -lib -CTS DErrNo.hs \ -o ../../../targets/`harch`/objp/prelude/PreludeIO/DErrNo.o ) ( cd src/prelude; make CFG=p install ) As you can see, only one file needs to be rebuilt: the all-important difference is the compile-time argument +CTS -lib -CTS. Then the second step recreates the profiling prelude archive. Hope this helps, Malcolm


About this list Date view Thread view Subject view Author view