I am confused about whether it is possible to compile / link the profiling assembly for gprof using gcc with OpenMP enabled. The gcc docs seem to be silent on this subject, as far as my search queries confirm it. Experimentally adding only the -fomp switch causes a SIGPROF error on startup.
It is also unclear whether http://projekt17.pub.lab.nm.ifi.lmu.de/ompp/downloads/$pkgname-$pkgver.tgz supports, since the included document only refers to icc with a simple file. If possible, how to add it to an existing build system? [Note: I am a self-taught newb working on a hobby project, please write. Thanks.]
source share