Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

Compiling with base relocations

sroytman
Beginner
414 Views

I've got a simple question about getting VTune's call graph going on a poject I'm working on. The environment is Windows XP, Intel 7.1 C++ compiler with nmake---looks like something straight from Microsoft.

I want to extract a call graph, but VTune complains about not finding base relocations in the .exe I want to analyze. I assume that the solution is going to be something like setting a -g flag or linking statically in the *nix world, possibly accomplished by changing something in some .pro file. However things are being compiled right now, VTune's sampling functionality does work.

Thanks in advance for any suggestions.

Sergej Roytman

0 Kudos
2 Replies
Intel_C_Intel
Employee
414 Views

Try modifying following property

Tools -> Options -> Configuration Properties -> Linker -> Advanced ==> Fixed Base Address to /FIXED.

-km

0 Kudos
David_A_Intel1
Employee
414 Views
use the Linker Custom options window and just add /FIXED:NO.
0 Kudos
Reply