]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Adjust the instructions for building large file support so that it works
authorFred Drake <fdrake@acm.org>
Thu, 10 Jan 2002 22:37:18 +0000 (22:37 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 10 Jan 2002 22:37:18 +0000 (22:37 +0000)
more cleanly (I think this supports more Linux systems; not sure).
Barry Warsaw & Martin von Loewis actually agree on this!
This closes SF patch #502023.

Doc/lib/libposix.tex

index 9bbc3366653b61f7231003923870818150925543..201a53ba1ac1d16b023c0fdb8cf10754d172fc18 100644 (file)
@@ -55,16 +55,14 @@ this mode. For example, it is enabled by default with recent versions
 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
-\end{verbatim} % $ <-- bow to font-lock
+CC="cc `getconf LFS_CFLAGS`" ./configure
+\end{verbatim}
 
 On large-file-capable Linux systems, this might work:
 
 \begin{verbatim}
-CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" \
-        ./configure
-\end{verbatim} % $ <-- bow to font-lock
+CC='gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ./configure
+\end{verbatim}
 
 
 \subsection{Module Contents \label{posix-contents}}