]> granicus.if.org Git - python/commitdiff
Document configuration flags to compile for large file support on
authorGuido van Rossum <guido@python.org>
Thu, 1 Mar 2001 18:29:57 +0000 (18:29 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Mar 2001 18:29:57 +0000 (18:29 +0000)
certain Linux systems.

Doc/lib/libposix.tex

index 540767badfe4ecde08014d01542729449f8b7975..dada973011778abf04f58a7513e6886eaee20210 100644 (file)
@@ -56,9 +56,17 @@ of Irix, but with Solaris 2.6 and 2.7 you need to do something like:
 
 \begin{verbatim}
 CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" \
-        configure
+        ./configure
 \end{verbatim} % $ <-- bow to font-lock
 
+On large-file-capable Linux systems, this might work:
+
+\begin{verbatim}
+CC="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+export CC
+./configure
+\end{verbatim}
+
 
 \subsection{Module Contents \label{posix-contents}}