Makefile.am,debug/build.sh,release/build.sh : Added note on using gprof
This commit is contained in:
parent
104d4c2a52
commit
78732f60e8
@ -3,7 +3,10 @@ lib_LTLIBRARIES =
|
||||
bin_PROGRAMS =
|
||||
include_HEADERS =
|
||||
|
||||
|
||||
# To Profile w/ gprof:
|
||||
# 1) Modify configure: ./configure --disable-shared CFLAGS="-pg"
|
||||
# 2) Run the program. ./foo
|
||||
# 3) Run gprof /libtool --mode=execute gprof ./foo
|
||||
|
||||
# C compiler flags
|
||||
# _GNU_SOURCE - turns on GNU specific extensions and gives correct prototype for double log2(double)
|
||||
|
@ -7,6 +7,11 @@ autoreconf --force --install
|
||||
|
||||
cd ${curdir}
|
||||
|
||||
# To Profile w/ gprof:
|
||||
# 1) Modify configure: ./configure --disable-shared CFLAGS="-pg"
|
||||
# 2) Run the program. ./foo
|
||||
# 3) Run gprof /libtool --mode=execute gprof ./foo
|
||||
|
||||
../../../configure --prefix=${curdir} \
|
||||
--enable-debug \
|
||||
CFLAGS="-g -Wall" \
|
||||
@ -17,4 +22,4 @@ LIBS=
|
||||
|
||||
|
||||
#make
|
||||
#make install
|
||||
#make install
|
||||
|
@ -7,6 +7,11 @@ autoreconf --force --install
|
||||
|
||||
cd ${curdir}
|
||||
|
||||
# To Profile w/ gprof:
|
||||
# 1) Modify configure: ./configure --disable-shared CFLAGS="-pg"
|
||||
# 2) Run the program. ./foo
|
||||
# 3) Run gprof /libtool --mode=execute gprof ./foo
|
||||
|
||||
../../../configure --prefix=${curdir} \
|
||||
CFLAGS="-Wall" \
|
||||
CXXFLAGS="-Wall" \
|
||||
@ -16,4 +21,4 @@ LIBS=
|
||||
|
||||
|
||||
#make
|
||||
#make install
|
||||
#make install
|
||||
|
Loading…
Reference in New Issue
Block a user