Which platform? If on Solaris 10 sparc, GCC (either from Sun or sunfreeware.com) should be 64-bit by default. GCC from Sunfreeware for Solaris 10 x86 will compile 32-bit by default. For Solaris, you are better off using Sun Studio and Dmake. Actually, you are better off just using the compiled version from Oracle/Sun. On 06/13/12 02:08, prabu.murugan at emc.com wrote:> Hi, > > Have tried to compile samba 64 bit. By default it is compiling 32 bit. Google doesn't give much info about it. > Please share your experience on 64bit samba. > > Thanks, > Prabu >
It is for Solaris 9 and 10 Sparc machines. Thanks, Prabu -----Original Message----- From: Gaiseric Vandal [mailto:gaiseric.vandal at gmail.com] Sent: Thursday, June 14, 2012 2:49 AM To: Murugan, Prabu; Samba Subject: Re: Samba 64 bit compilation Which platform? If on Solaris 10 sparc, GCC (either from Sun or sunfreeware.com) should be 64-bit by default. GCC from Sunfreeware for Solaris 10 x86 will compile 32-bit by default. For Solaris, you are better off using Sun Studio and Dmake. Actually, you are better off just using the compiled version from Oracle/Sun. On 06/13/12 02:08, prabu.murugan at emc.com wrote:> Hi, > > Have tried to compile samba 64 bit. By default it is compiling 32 bit. Google doesn't give much info about it. > Please share your experience on 64bit samba. > > Thanks, > Prabu >
This is probably a compiler question rather than a Samba question. For GCC, I believe that you want to pass the "m64" flag to CPPFLAGS, CFLAGS and other environmental variables. On 06/15/12 08:44, prabu.murugan at emc.com wrote:> It is for Solaris 9 and 10 Sparc machines. > > Thanks, > Prabu > > -----Original Message----- > From: Gaiseric Vandal [mailto:gaiseric.vandal at gmail.com] > Sent: Thursday, June 14, 2012 2:49 AM > To: Murugan, Prabu; Samba > Subject: Re: Samba 64 bit compilation > > Which platform? > > If on Solaris 10 sparc, GCC (either from Sun or sunfreeware.com) should be 64-bit by default. > > GCC from Sunfreeware for Solaris 10 x86 will compile 32-bit by default. > > For Solaris, you are better off using Sun Studio and Dmake. Actually, you are better off just using the compiled version from Oracle/Sun. > > > > > On 06/13/12 02:08, prabu.murugan at emc.com wrote: >> Hi, >> >> Have tried to compile samba 64 bit. By default it is compiling 32 bit. Google doesn't give much info about it. >> Please share your experience on 64bit samba. >> >> Thanks, >> Prabu >> >