Mail Archives: djgpp/1995/02/05/12:53:09
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 -