delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/09/17:48:46

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: About DJGPP v2.02
Date: Thu, 09 Jul 1998 00:02:10 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 27
Message-ID: <35A440C2.31E567F7@cs.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980708114745 DOT 5286M-100000 AT is> <Pine DOT SOL DOT 3 DOT 96 DOT 980708170725 DOT 3501A-100000 AT sol DOT sun DOT csd DOT unb DOT ca>
NNTP-Posting-Host: ppp132.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019