Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f89ad5e

Browse files
committed
Document configuration flags to compile for large file support on
certain Linux systems.
1 parent 4f53da0 commit f89ad5e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Doc/lib/libposix.tex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,17 @@ \subsection{Large File Support \label{posix-large-files}}
5656

5757
\begin{verbatim}
5858
CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" \
59-
configure
59+
./configure
6060
\end{verbatim} % $ <-- bow to font-lock
6161

62+
On large-file-capable Linux systems, this might work:
63+
64+
\begin{verbatim}
65+
CC="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
66+
export CC
67+
./configure
68+
\end{verbatim}
69+
6270

6371
\subsection{Module Contents \label{posix-contents}}
6472

0 commit comments

Comments
 (0)