[Samba] Re: Large bin files when compiling

Robert Robertedstrom at yahoo.com
Thu Oct 23 17:33:04 GMT 2003


I read in another post that you can edit the makefile after you run the
configure script.  Remove the -g option from the cflags.  How did you use
the strip command?

Bob.


"Jonas Jonsson" <phoenix at telia.com> wrote in message
news:009801c39984$796ac8c0$0200a8c0 at fujitsu...
> Tried the strip command and it worked great....
>
> But isn't ther a way to turn of these debugging symbols before I do the
> make?
> Tryed to add --disable-debug when configure... No change...
>
> /Jonas
> ----- Original Message -----
> From: "Edd Payne" <edd.payne at ulu.lon.ac.uk>
> To: "Jonas Jonsson" <phoenix at telia.com>
> Sent: Thursday, October 23, 2003 5:46 PM
> Subject: Re: [Samba] Large bin files when compiling
>
>
> > Go to the directory where the big files are and type:
> > strip smbd
> > and repeat for all the big files.
> >
> > On a Linux i686 system this should get it down from 40Mb to about 1.9Mb
(I
> > think)
> >
> > It removes the debugging symbols - if you need them, just re-do a "make
> > install" and it should put the old versions back.
> >
> >
> > On Thursday 23 Oct 2003 4:22 pm, Jonas Jonsson wrote:
> > > Hi...
> > >
> > > I have just installed Linux Slackare 9.1 with Gcc 3.2.... Then I
> decieded
> > > to try out Samba 3 insted of 2 wich I have been using for a while
now...
> > >
> > > I did this when compiling...
> > > ./configure --prefix=/usr
> > > make
> > >
> > > Then when I checked the source/bin dir there was about 400mb of files
> > > there... It was the correct bin files but they were so huge that ther
> has
> > > to be something wrong.. Smbd was about 40mb...
> > >
> > > Anyone got some ideas on what I can do to make the files smaler?
> > >
> > > /Jonas
> >
> > --
> > Edd Payne
> > IT Co-ordinator
> > University of London Union
> > Malet Street, London WC1E 7HY
> >
> > tel: 020 7664 2060
> > fax: 020 7436 4604
> >
> >
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>






More information about the samba mailing list