[Vorbis-dev] Reg. Enabling Debugging.
Shashank Khanvilkar
shashank at mia.ece.uic.edu
Thu Aug 18 08:20:52 PDT 2005
Hi,
This is a repeat question.
Earlier I had asked the same question and eventually found the ans.
(http://lists.xiph.org/pipermail/vorbis-dev/2005-August/018179.html)
However now when I try the same thing somehow I am not able to use
debugging.
To use debugging, i compiled the source using the folloing commands,.
>make clean
>./autogen.sh --enable-DEBUG
>make
The configure.in has the following flags set for DEBUG
--SNIP--
case $host in
*86-*-linux*)
DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
PROFILE="-Wall -W -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT
-fsigned-char -fno-inline"
--SNIP--
However make command only uses the CFLAGS as below
--SNIP--
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libvorbis\"
-DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -I. -I. -I../include -ffast-math -mno-ieee-fp
-D_REENTRANT -fsigned-char -DUSE_MEMORY_H -MT block.lo -MD -MP -MF
.deps/block.Tpo -c block.c -fPIC -DPIC -o .libs/block.o
--SNIP--
Am i forgetting any key step.
PLease let me know
Shashank
More information about the Vorbis-dev
mailing list