From: Allen B. <ba...@lo...> - 2001-07-13 13:39:01
|
Hi, I was trying to build Mesa with profiling enabled via './configure --enable-profile'. This seemed to build all the source code and the sub-libraries (.la's) with '-pg' OK, however, the last big libtool link of libGL.so didn't have the '-pg' argument and I didn't get a gmon.out file when I ran my code against it. There are probably a lot of things which went wrong that I don't understand (like: can you even have a profiling shared object?) (or perhaps I didn't compile my code with -pg). I eventually got what I wanted with 'make -f Makefile.X11 linux-prof'. Though, this created a static library. Is this what --enable-profile should do, too? Thanks, Allen |