summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-01 18:29:57 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-01 18:29:57 (GMT)
commitf89ad5ed6bdae56f9e7339d44a596c298ed6f4fd (patch)
tree3e8757887ef2e7f64c2953e264a4e199e0a3d4be /Doc
parent4f53da07bf79b98c4131fcb9a49e6987298973a7 (diff)
downloadcpython-f89ad5ed6bdae56f9e7339d44a596c298ed6f4fd.zip
cpython-f89ad5ed6bdae56f9e7339d44a596c298ed6f4fd.tar.gz
cpython-f89ad5ed6bdae56f9e7339d44a596c298ed6f4fd.tar.bz2
Document configuration flags to compile for large file support on
certain Linux systems.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libposix.tex10
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex
index 540767b..dada973 100644
--- a/Doc/lib/libposix.tex
+++ b/Doc/lib/libposix.tex
@@ -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}}