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