Date: Sun, 05 Feb 1995 16:40:37 -0500 (CDT) From: Aaron Ucko Subject: Re: profiling with -pg option & bug in Eli's FAQ To: dodger AT gcr DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Organization: Rockhurst College; Kansas City, MO >gcc -o -pg tbranch tbranch.o -lgpp >gcc.exe: tbranch: file not found This is guaranteed to fail: -o takes the next argument, regardless of appearance, as the output file, so what you're asking it to do is link tbranch, tbranch.o, and libg++ to produce a file named `-pg.' >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). Try eliz AT is DOT elta DOT co DOT il. If you wait long enough his address is bound to appear in a message header anyway... :-) --- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp! -=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=- Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ UL++(-)(S+)>++++ P++ L+(++) 3(-) E-(----) !N>++ K- W-(---) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?