Info for >2GB files/compile flag

<[email protected]> Mon, 14 Nov 2005 15:17:17 -0700
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C5E969.2C57F298
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

To compile in 64-bit mode, which is required if you want to ftp files
larger than 2GB, you must use the "-m64" flag.  This needs to be
inserted in the appropriate makefile in the
./wu-ftpd-2.6.2/src/makefiles directory.  Here's an example for Solaris:

CFLAGS   =3D -m64 -g ${IFLAGS} ${LFLAGS} ${WARNINGS}

I believe that the linux makefile would be modified (not tested):

CFLAGS   =3D -m64 ${RPM_OPT_FLAGS} -fomit-frame-pointer
-fno-strength-reduce -pipe ${IFLAGS} ${LFLAGS} ${CDEFS}

------_=_NextPart_001_01C5E969.2C57F298
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">
<TITLE>Info for &gt;2GB files/compile flag</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">To compile in 64-bit mode, which is =
required if you want to ftp files larger than 2GB, you must use the =
&quot;-m64&quot; flag.&nbsp; This needs to be inserted in the =
appropriate makefile in the ./wu-ftpd-2.6.2/src/makefiles =
directory.&nbsp; Here's an example for Solaris:</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">CFLAGS&nbsp;&nbsp; =3D<B> -m64</B> -g =
${IFLAGS} ${LFLAGS} ${WARNINGS}</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I believe that the linux makefile would =
be modified (not tested):</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">CFLAGS&nbsp;&nbsp; =3D -</FONT><B><FONT =
SIZE=3D2 FACE=3D"Arial">m64</FONT></B> <FONT SIZE=3D2 =
FACE=3D"Arial">${RPM_OPT_FLAGS} -fomit-frame-pointer =
-fno-strength-reduce -pipe ${IFLAGS} ${LFLAGS} ${CDEFS}</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5E969.2C57F298--