User forums > Using Code::Blocks
Code Profiler: Problem with gprof under WINDOWS
josholig:
I don't have very much experience when it comes to installing this kind of thing and I can't for life of me figure out how to install the 2.17.50 over the 2.18.50 release. Can someone please provide a step to step guide for how to do this I use Windows Vista but even a Windows XP guide would probably be sufficient
rhf:
--- Quote from: josholig on October 11, 2008, 08:00:21 pm ---Can someone please provide a step to step guide for how to do this I use Windows Vista but even a Windows XP guide would probably be sufficient
--- End quote ---
josholig, This turns out to not really be a CodeBlocks issue, but I can explain what I did to get gprof to work for me - no guarantees.
(1) Since you might want it back, rename your current version of gprof.exe , typically in C:\MinGW\bin, to say gprof_preview.exe.
(2) Download Current Release of binutils. http://downloads.sourceforge.net/mingw/binutils-2.17.50-20060824-1.tar.gz?modtime=1156941940&big_mirror=1
(3) Make a local temporary directory, extract the files and copy bin\gprof.exe to C:\MinGW\bin directory.
josholig:
I tried it and it still does not work in code::blocks the only difference was that my C:\MinGw\ is actually in C:\Program Files\CodeBlocks\MinGw\ if that is a problem how can I change that and not mess up CodeBlocks if not is there another possible workaround?
::EDIT:: It did work I just copied the wrong gprof.exe over it works now now though
RoBaTte:
Oh my god! I love you.
2 days reading, trying, getting crazy ending now in a happy end. It works. Thanks a lot! :D :D
--- Quote from: irf610 on June 12, 2008, 07:18:42 pm ---Hi,
Just ran into this problem. gprof 2.18.50 seem to have a problem. Just install gprof 2.17.50 and everything work fine.
You can find it in the Mingw GNU Bintuils release 2.17.50 at the following address :
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11290
--- End quote ---
Navigation
[0] Message Index
[*] Previous page
Go to full version