
13 Nov
2001
13 Nov
'01
7:38 a.m.
If module A imports B, and if B was compiled without the profiling options (but A was), is the final program expected to abort (illegal operation or something like that)? If it is, why?
You must compile (and link) the whole program with -prof, because that option changes certain fundamental properties of the virtual machine. If you link modules compiled in different ways, the behaviour is unspecified ;-) Cheers, Simon