This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i am getting same profile(for gcc) for all testcases


On Thu, Mar 04, 2004 at 01:10:04PM -0800, Jim Wilson wrote:
> perugupa@csee.wvu.edu wrote:
> >   $ make -j8 all CFLAGS="-g -profile -O2"
> 
> -profile isn't a gcc option.  This might be the problem.  Try -p or -pg. 
>  -pg will give more info.

Actually, for many targets, it is.  It's handled completely in specs;
it implies -pg for compilation and on some targets -pg -lc_p when
linking.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]