[Samba] source code for samba-2.2.8a-1-sol8-suncc-64bit.pkg

Eric Boehm boehm at nortelnetworks.com
Wed Sep 3 11:29:57 GMT 2003


On Tue, Sep 02, 2003 at 04:05:02PM -0500, Madhavi Atluri wrote:
>>>>> "Madhavi" == Madhavi Atluri <atluri1 at email.mot.com> writes:

    Madhavi> Hi all, Where could I get souce code for
    Madhavi> samba-2.2.8a-1-sol8-suncc-64bit.pkg, I checked in
    Madhavi> samba.org but I just found pacakage(
    Madhavi> samba-2.2.8a-1-sol8-suncc-64bit.pkg).

The source code is the same for all versions. You get 32-bit or 64-bit
depending on the options you provide to the compiler.

I've posted this before. Here's how you build a 64-bit samba

The following assumes that the C compiler is in your PATH.

    A.   For Bourne/Korn shells:

         1. Sun's Forte compiler

            CC=cc  CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-xarch=v9a'  \
            ./configure <args-to-configure>
      

         2. For gcc 3.x or better

            CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' \
            ./configure <args-to-configure>
      

    B.   For Csh and derivatives:

         1. Sun's Forte compiler

            setenv CC       cc
            setenv CPPFLAGS '-D__EXTENSIONS__'
            setenv CFLAGS   '-xarch=v9a'
            ./configure <args-to-configure>
      

         2. For gcc 3.x or better

            setenv CC       gcc
            setenv CPPFLAGS '-D__EXTENSIONS__'
            setenv CFLAGS   '-m64'
              ./configure <args-to-configure>
      

-- 
Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortelnetworks.com       \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail



More information about the samba mailing list