[Samba] Large bin files when compiling

Jonas Jonsson phoenix at telia.com
Thu Oct 23 16:41:14 GMT 2003


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
>
>
>




More information about the samba mailing list