From: Jonathan Wakely Date: Thu, 6 Jul 2023 15:25:47 +0000 (+0100) Subject: libstdc++: Document --enable-cstdio=stdio_pure [PR104299] X-Git-Tag: releases/gcc-12.4.0~809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67bda4331dc4f548820ed2f3138aa7f64fd4c77d;p=thirdparty%2Fgcc.git libstdc++: Document --enable-cstdio=stdio_pure [PR104299] libstdc++-v3/ChangeLog: PR libstdc++/104299 * doc/xml/manual/configure.xml: Describe stdio_pure argument to --enable-cstdio. * doc/html/manual/configure.html: Regenerate. (cherry picked from commit b90a70984a9beee39b41f842b56926f9db2069ca) --- diff --git a/libstdc++-v3/doc/html/manual/configure.html b/libstdc++-v3/doc/html/manual/configure.html index 31c4da8a5e3a..5981c6c548b0 100644 --- a/libstdc++-v3/doc/html/manual/configure.html +++ b/libstdc++-v3/doc/html/manual/configure.html @@ -38,9 +38,14 @@

    --with-gxx-include-dir=/foo/H-x86-gcc-3-c-gxx-inc/include/4.4-20090404
--enable-cstdio

This is an abbreviated form of '--enable-cstdio=stdio' (described next). -

--enable-cstdio=OPTION

Select a target-specific I/O package. At the moment, the only - choice is to use 'stdio', a generic "C" abstraction. - The default is 'stdio'. This option can change the library ABI. +

--enable-cstdio=OPTION

Select a target-specific I/O package. The choices are 'stdio' + which is a generic abstraction using POSIX file I/O APIs + (read, write, + lseek, etc.), and 'stdio_pure' which is similar + but only uses standard C file I/O APIs (fread, + fwrite, fseek, etc.). + The 'stdio_posix' choice is a synonym for 'stdio'. + The default is 'stdio'. This option can change the library ABI.

--enable-clocale

This is an abbreviated form of '--enable-clocale=generic' (described next).

--enable-clocale=OPTION

Select a target-specific underlying locale package. The diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml index 8c26acc95a79..f01fdb9b0d4f 100644 --- a/libstdc++-v3/doc/xml/manual/configure.xml +++ b/libstdc++-v3/doc/xml/manual/configure.xml @@ -74,9 +74,14 @@ --enable-cstdio=OPTION - Select a target-specific I/O package. At the moment, the only - choice is to use 'stdio', a generic "C" abstraction. - The default is 'stdio'. This option can change the library ABI. + Select a target-specific I/O package. The choices are 'stdio' + which is a generic abstraction using POSIX file I/O APIs + (read, write, + lseek, etc.), and 'stdio_pure' which is similar + but only uses standard C file I/O APIs (fread, + fwrite, fseek, etc.). + The 'stdio_posix' choice is a synonym for 'stdio'. + The default is 'stdio'. This option can change the library ABI.