Mail Archives: djgpp/1998/07/10/19:49:20
Endlisnis wrote:
>On Thu, 9 Jul 1998, John M. Aldrich wrote:
>->Endlisnis wrote:
>->> I use rhide to compile my code. Could someone tell me how
>->> to set
>->> rhide to create exe's that make profiling information OR tell me
>->> the commandline equivalent?
>->RHIDE used to have an option named "Compile for profiling", or >->something
>->similar. Now, it seems that '-pg' is available as a flag under
>->Options|Compiler|Debugging. Looking over the flags in this menu, it
>->seems that RHIDE must know which to apply to the linking stage and
>->which
>->to apply to the compilation stage, and which to both. So just check
>->that box for '-pg' and it should work.
>->
>->If it does not work, then it's a bug and should be reported (if not
>->already known).
> Well, that was the first thing I did, and it produced an exe,
>but when it was run, it did not produce any profiling information.
>Adding "-pg" as a compiling option didn't seem to have any effet on
>the resulting executable.
You must activate too the flag 'link for profiling' in Options|Libraries
and them Build All.
- Raw text -