delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/10/21:00:14

From: vecna AT inlink DOT com (vecna)
Newsgroups: comp.os.msdos.djgpp
Subject: Problems linking for gprof...
Followup-To: comp.os.msdos.djgpp
Date: 10 Oct 1996 21:00:44 GMT
Organization: Inlink
Lines: 15
Message-ID: <53jo5s$7ne@news1.inlink.com>
NNTP-Posting-Host: pm00721.inlink.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Alright, I want to profile my game. So, I looked up in the FAQ, how to use 
gprof. It told me I needed to compile and link with the -pg option, then run 
the program through gprof. Fine, I can do that...

So I compile with -pg perfectly, but...when I try to link it with that it 
tells me that -pg is an unknown option! Obviously, gprof did not work.

So... what's the deal? Do I have a terribly outdated version of the linker? 
It's the standard DJGPP v.2.0 distribution. I'm using DOS 6.2, not running 
from windows, using RHIDE. There may be a newer version of rhide, but a ld -h 
confirmed that -pg was not in it's vocabulary. What should I do? Please, 
respond promptly, I'm on a time table.. :( Thanks in advance,

vecna AT inlink DOT com

- Raw text -


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