I'm confused as to whether it is possible to compile/link a profiling build for gprof using gcc with OpenMP enabled. The gcc docs seem silent on the matter, as far as my google searches indicated. Experimentally, adding just the -fomp
switch causes a SIGPROF
error on launch.
I'm also unclear as to whether http://projekt17.pub.lab.nm.ifi.lmu.de/ompp/downloads/$pkgname-$pkgver.tgz
is of any help since the included doc refers only to icc with a simple file. If this is possible, how does one add it to an existing build system? [Note: I'm a self-taught newb working on a hobby project, please be explicit. Thanks.]