Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sherif-fr
Beginner
69 Views

argv

Hello,

How I can carry out an application on Vtune(windows)! knowing that I use Cygwin!And that the ordering of execution is not "program.exe" but "./program.exe file.txt" ?!

0 Kudos
1 Reply
TimP
Black Belt
69 Views

Assuming you mean that you are using a compiler built for cygwin, I think the best chance is to use a single source file for everything you want to profile, and include -g in the compile and link options. You would require either -mno-cygwin or to put a copy of cygwin1.dll (temporarily) where it will be found when running VTune. You have the options of putting the environment variables and command line in a .bat file, or using the command line option setting in VTune.
Reply