[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: help:how to get debug version?



would u like to commit it?
----- Original Message ----- 
From: "Howard Chu" <hyc@symas.com>
To: "???" <luozhijian@huawei.com>
Cc: <ando@sys-net.it>; <openldap-software@OpenLDAP.org>
Sent: Wednesday, April 13, 2005 8:59 PM
Subject: Re: help:how to get debug version?


> Hm, in our builds I changed this to
> STRIP= -s
> ... $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) ...
> 
> so the command
> make install STRIP=
> would install a non-stripped binary. I guess I never committed that 
> change back to the main CVS.
> 
> ??? wrote:
> 
> >install-slapd: FORCE
> >        -$(MKDIR) $(DESTDIR)$(libexecdir)
> >        -$(MKDIR) $(DESTDIR)$(localstatedir)/run
> >        $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
> >                slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
> >  
> >unuse "-s" flag  to install,then we can get debug version.
> >
> >----- Original Message ----- 
> >From: "Pierangelo Masarati" <ando@sys-net.it>
> >To: "ÃÂâÃÂâÃÂÅ" <luozhijian@huawei.com>
> >Cc: <openldap-software@OpenLDAP.org>
> >Sent: Wednesday, April 13, 2005 5:58 PM
> >Subject: Re: help:how to get debug version?
> >
> >
> >  
> >
> >>>by default,openldap will strip debug info,How can i get a debug version?
> >>>
> >>>file slapd:
> >>>slapd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> >>>dynamically linked (uses shared libs), strippe
> >>>      
> >>>
> >>The easy way: get servers/slapd/slapd from the build tree.  There might be
> >>some configure/install option to disable stripping that I'm not aware of.
> >>
> >>p.
> >>
> >>-- 
> >>Pierangelo Masarati
> >>mailto:pierangelo.masarati@sys-net.it
> >>
> >>
> >>    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
> >>
> >>    
> >>
> >
> >
> >
> >  
> >
> 
> 
> -- 
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
>