From: ppiselli AT el4 DOT cs DOT umass DOT edu (PAOLO PISELLI M Z) Newsgroups: comp.os.msdos.djgpp Subject: Problems linking with '-pg' Date: 28 Jul 1997 18:03:46 GMT Organization: CMPSCI Department, UMass Amherst Lines: 11 Message-ID: <5rimu2$scm@kernighan.cs.umass.edu> NNTP-Posting-Host: el4.cs.umass.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am making my first attempts at profiling some game code with gprof and had no trouble compiling all my source code with the '-pg' compiler option. When I tried to link with '-pg', I got an error saying that -pg was an unknown option (it mentioned the file djgpp/bin/ld.exe). I would greatly appreciate if anyone could email me any help. I am running under WinNT on a pentium 200 with DJGPP version 2.01. -Paolo