maybe my following question is off-topic but the posting to gnu.gcc had no success. But I am sure there are many people in this newsgroup who can help.
I want to do profiling of some C-code with gprof. I have a GCC 3.4.4 compiled as cross compiler for m68k. The code is running on an embedded system with no operating system. How can get the profiling information? As there is no OS there is no file system and thus there will be no gmon.out file. What do I have to do to get profiling information of my code? Reading the man page of the gnu tools didn't help me. Furthermore, in which library can I find the mcount function?
Thanks in advance for your help and sorry for maybe beeing off-topic.