I am using CodeBlocks/MinGW for windows and I am getting problems to run the profile tool (gprof). I have turned on the -pg switch in compiler option, then compile and open a ms-dos windows. Then write in the correct directory gprof main.c , get a "not in executable file fomat" error.
How can I get it to work? I'm looking at internet but no detailed help is provided for these steps .....
thx in advance