axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damitha Kumarage <damith...@gmail.com>
Subject Re: [Axis2] [Patch] Cleaning up configure.ac
Date Wed, 07 Dec 2005 06:30:32 GMT
Anuradha Ratnaweera wrote:

>On 12/7/05, Damitha Kumarage <damitha23@gmail.com> wrote:
>  
>
>>I thought that by default it is built with debug information. I think we
>>need to add --disable-debug for a stripped build.
>>    
>>
>
>When I last looked, default was something like "-O2 -g".  There is a
>"make install-strip" to remove debugging symbols on _install_, and
>Debian is using this feature (not --diable-debug) to build stripped
>binaries and libraries.
>  
>
ok

>Using --{enable,disable}-debug is used to enable/disable code level
>debugging.  For example, this can set a symbol _DEBUG_ in config.h, so
>there can be fragments of code that will look like:
>
>#ifdef _DEBUG_
>    fprintf(stderr, "some debugging info\n");
>#endif /* _DEBUG_ */
>  
>
Oh this is good. We had this feature in axisc++
thanks
damitha

>        Anuradha
>--
>http://anuradha-ratnaweera.blogspot.com
>http://www.linux.lk/~anuradha/
>
>  
>


Mime
View raw message