Re: base relocations and vtune

2005-08-26 Thread Amos Anderson
well, i've just figured out my problem. i'm pretty sure that i had already tried the -pie command with the gcc compiler before, but that didn't work. here is the final solution that works for me. gcc needs the following two extra parameters: -Wl,-pie -pie thanks! amos.

Re: base relocations and vtune

2005-08-26 Thread Amos Anderson
thanks for responding. For intel's vtune to be able to provide call graph functionality, it claims to require "base relocations". upon presenting this warning, it suggests that if one is using the visual studio compiler, that the /FIXED:NO flag be provided to the compiler. microsoft's msdn has thi

Re: base relocations and vtune

2005-08-26 Thread Larry Hall
At 01:15 PM 8/26/2005, you wrote: >hello -- i'm trying to figure out how to profile my code compiled with >gcc/cygwin with intel vtune's call graph. > >this might be a problem specific to the call graph functionality itself. > >i was able to instrument all my program with vtune so i can run the >ca

base relocations and vtune

2005-08-26 Thread Amos Anderson
hello -- i'm trying to figure out how to profile my code compiled with gcc/cygwin with intel vtune's call graph. this might be a problem specific to the call graph functionality itself. i was able to instrument all my program with vtune so i can run the call graph activity, but i get the warning