[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

How to generate profiles using gcc?

With cc (c compiler) if i compile a c-program using
the -pg option, and i run the executable, it creates
profiles with names pid.exename for each process that
is spawned in PROFDIR (provided PROFDIR environment
varible is set). How to generate the same kind of
output using gcc ? Does it support PROFDIR environment
variable ? If not is there any alternative to get the
profiles as like with cc.

Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!