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
something to do with debugging code being left in the first release of 3 apparently, run strip * in your bin directory, ta Andy. -----Original Message----- From: samba-bounces+pubsyssamba=bbc.co.uk@lists.samba.org [mailto:samba-bounces+pubsyssamba=bbc.co.uk@lists.samba.org]On Behalf Of Jonas Jonsson Posted At: 23 October 2003 16:23 Posted To: Samba Conversation: [Samba] Large bin files when compiling Subject: [Samba] Large bin files when compiling 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
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@ulu.lon.ac.uk> To: "Jonas Jonsson" <phoenix@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 Idecieded> > 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 therhas> > 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 > > >