Mail Archives: djgpp/1998/07/09/17:48:46
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?
> The FAQ says to use "-pg" as a switch to the compiler AND the
> linker, but if I set that as a linker option in rhide, it says
> "f:/djgpp/bin\ld.exe: unrecognized option `-pg'". And I know the FAQ says
> not to use ld.exe directly, but I don't know how else.
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).
--
---------------------------------------------------------------------
| John M. Aldrich |"A competent and self-confident person|
| aka Fighteer I | is incapable of jealousy in anything.|
| mailto:fighteer AT cs DOT com | Jealousy is invariably a symptom of |
| http://www.cs.com/fighteer | neurotic insecurity." - Lazarus Long|
---------------------------------------------------------------------
- Raw text -