Re: [Sofia-sip-devel] Removing optimized from compile

2010-11-10 Thread Chris Robson
Thanks all for the suggestions. However, it turns out optimization wasn't the issue. To explain, I'm building a application which exploits sofia-sip and sofsip-cli software with some major changes. What I thought was a build option problem in order to debug the developed code in Eclipse, tu

Re: [Sofia-sip-devel] Removing optimized from compile

2010-11-10 Thread Fabio Margarido
What I usually do is run './configure CFLAGS="-O0 -g whatever" --enable-ndebug'. This works fine for me. On Tue, Nov 9, 2010 at 19:16, Michael Jerris wrote: > libtool puts this stuff in, and I have never found a good way to make it not > do so, you can try adding -O0 to SOFIA_CFLAGS > > Mike > >

Re: [Sofia-sip-devel] Removing optimized from compile

2010-11-10 Thread Kai.Vehmanen
Hi, On 09 Nov 2010, Chris Robson wrote: > Anyone know how to remove the -O2 optimize flag from the compile, aka > ./configure --disable-??? one quick way to compile without optimization is to do: make clean make CFLAGS="-O0 -g" This should work with all projects using automake (including so

Re: [Sofia-sip-devel] Removing optimized from compile

2010-11-10 Thread Michael Jerris
make SOFIA_SILENT="" On Nov 10, 2010, at 10:05 AM, wrote: > Hi, > > On 09 Nov 2010, Chris Robson wrote: >> Anyone know how to remove the -O2 optimize flag from the compile, aka >> ./configure --disable-??? > > one quick way to compile without optimization is to do: > > make clean > mak