Open ellmo opened 10 years ago
Hey, thanks for reporting this! It seems that Mac OSX does not include the clock_gettime function, as specified by POSIX.1-2001.
I will look into this, but I can't promise that I will get it working anytime soon, especially since I don't have a Mac. What I can do though, is implementing something that may work in a dedicated branch, but then I would need your help with the testing. Would you do that?
Thanks, Andy
Since Valgrind doesn't work on OSX 10.8 and 10.9 I'm quite interested in getting an alternate C profiler (and trust me, a lot of OSX owners are too) so I'd like to help. I just have to clarify I'm no low-level programmer (I just started learning C from http://c.learncodethehardway.org/book/), so I may not be able to give you all the feedback you require.
To sum up: I'll be watching for a OSX dedicated branch and will report back to you with results.
Hi again, I hope I made some progress in this matter. Could you check out branch OSX-compatibility, and run
./autogen.sh ./configure CFLAGS="-Wall -Wextra" make
and pastebin the resulting output to me?
Thanks, Andy
ellmo@ellmo~/Downloads/graprof-0.7$ ./configure
ellmo@ellmo~/Downloads/graprof-0.7$ make