www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/05/12:53:09

From: dodger AT gcr DOT com (Roger Labbe)
Subject: profiling with -pg option & bug in Eli's FAQ
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp list)
Date: Sun, 5 Feb 1995 12:12:43 -0500 (EST)

I am trying to compile and link a program using profiling information
using the -pg option. When linking, I get the following:

gcc -pg -o tbranch tbranch.o -lgpp
c:\djgpp\bin\ld.exe cannot open -lc_p: file not found


 - or -

gcc -o -pg tbranch tbranch.o -lgpp
gcc.exe: tbranch: file not found


I am using version 2.6.3. The compile/link/run works fine for this
program if I leave out the -pg option.

Incidentally, Eli's FAQ (Dec 1994) states that the profile option
is -gp. I would post this to him directly but I can't find his address
(it wasn't in the faq).

Roger Labbe

- Raw text -


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