[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs.c (main): fix profiling instructions
From: |
Markus Triska |
Subject: |
Re: emacs.c (main): fix profiling instructions |
Date: |
Tue, 03 Apr 2007 13:48:25 +0200 |
Eli Zaretskii <address@hidden> writes:
> I fixed the instructions based on your proposal.
Thanks, here's a patch:
2007-04-03 Markus Triska <address@hidden>
* emacs.c (main): fix profiling instructions
Index: emacs.c
===================================================================
RCS file: /sources/emacs/emacs/src/emacs.c,v
retrieving revision 1.400
diff -c -r1.400 emacs.c
*** emacs.c 3 Apr 2007 10:21:06 -0000 1.400
--- emacs.c 3 Apr 2007 11:46:37 -0000
***************
*** 1721,1727 ****
Give it a try and tell us if it works on your system. To compile
for profiling, add -pg to the switches your platform uses in
CFLAGS and LDFLAGS. For example:
! `make CFLAGS="-pg -g -O -DPROFILING=1 LDFLAGS="-pg -g"'. */
#if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__)
#ifdef PROFILING
if (initialized)
--- 1721,1727 ----
Give it a try and tell us if it works on your system. To compile
for profiling, add -pg to the switches your platform uses in
CFLAGS and LDFLAGS. For example:
! `make CFLAGS="-pg -g -O -DPROFILING=1" LDFLAGS="-pg -g"'. */
#if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__)
#ifdef PROFILING
if (initialized)