
9 May
2002
9 May
'02
9:35 a.m.
Just a quick addition to my previous question- using the ghci linker to load object code, I am currently using the following files from the system libraries:
HSstd.o HSstd_cbits.o HSlang.o HSlang_cbits.o HSdata.o HStext.o HSnet.o HSconcurrent.o HSutil.o HSutil_cbits.o HSposix.o HSposix_cbits.o
However, when tring to profile the code I need to load profiling versions of these objects, but the ghci-linkers loadObject doesn't appear to be able to load the libHSstd_p.a (nor the libHSstd.a) library... how do I get the ghci-linker to link my profiling objects against the profiling versions of the system libraries.
You can't do profiling inside GHCi. Compile the program into a standalone binary to do profiling. Cheers, Simon