[Samba] samba-3.0.0/source/ 1GB+ after compiling

John H Terpstra jht at samba.org
Fri Oct 17 20:19:41 GMT 2003


On Fri, 17 Oct 2003, Alex Shine wrote:

> I don't know how I could have added the -g option.  I typed the commands
> just like this
>
> ./configure ;  make
>
> I didn't add any switches.  Does it have something to do with the
> precompiled version of gcc I installed?  How do I remove the -g option?

Check out what is in the CFLAGS line in the Makefile that got generated.

- John T.

>
> Thanks,
> Alex
>
>
>
> At 12:35 PM 10/17/2003, John H Terpstra wrote:
> >On Fri, 17 Oct 2003, Alex Shine wrote:
> >
> > > Hello,
> > >
> > > I am running solaris 7 on a sparcstation 5.  We want to test out the pdc
> > > capablities on this test machine before we deploy this on our network.   I
> > > installed gcc version 3.2.2.  untared the source and did
> > >
> > > ./configure ; make
> > >
> > > everything seemed to go fine, but the source dir is over a gig in size
> > > now.  I did "make install", and ran out of disk space. this is what it was
> > > trying to install, these binaries are all between 20 and 57 MB.  This can't
> > > be right? can it?
> >
> >Looks like you compiled with the -g option. Suggest you remove that and
> >strip the binaries.
> >
> >- John T.
> >
> > >
> > > {SUPERUSER}-builder:/usr/local/samba/bin-89> ls -la
> > > total 451624
> > > drwxrwxr-x   2 root     other        512 Oct 17 08:48 .
> > > drwxrwxr-x  10 root     other        512 Oct 17 08:51 ..
> > > -rwxr-xr-x   1 root     other       4522 Oct 17 08:48 findsmb
> > > -rwxr-xr-x   1 root     other    57557216 Oct 17 08:44 net
> > > -rwxr-xr-x   1 root     other     418864 Oct 17 08:48 profiles
> > > -rwxr-xr-x   1 root     other    36132828 Oct 17 08:43 smbclient
> > > -rwxr-xr-x   1 root     other    26744244 Oct 17 08:46 smbcontrol
> > > -rwxr-xr-x   1 root     other    34999952 Oct 17 08:44 smbspool
> > > -rwxr-xr-x   1 root     other    26121616 Oct 17 08:46 smbstatus
> > > -rwxr-xr-x   1 root     other       4899 Oct 17 08:48 smbtar
> > > -rwxr-xr-x   1 root     other     689392 Oct 17 08:46 tdbbackup
> > > -rwxr-xr-x   1 root     other    24540384 Oct 17 08:45 testparm
> > > -rwxr-xr-x   1 root     other    23756052 Oct 17 08:45 testprns
> > >
> > > Thanks for your help,
> > > Alex
> > >
> > >
> >
> >--
> >John H Terpstra
> >Email: jht at samba.org
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list