Jonathan Wakely 5435449be0 libstdc++: Add autoconf checks for mkdir, chmod, chdir, and getcwd
The filesystem code was using these functions without checking for their
existence, assuming that any UNIX-like libc with <unistd.h> would always
provide them. That's not true for some newlib targets like arm-eabi.

libstdc++-v3/ChangeLog:

	* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for mkdir,
	chmod, chdir, and getcwd.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* src/c++17/fs_ops.cc (create_dir): Use USE_MKDIR macro.
	(fs::current_path): Use USE_GETCWD and USE_CHDIR macros.
	(fs::permissions): Use USE_CHMOD macro.
	* src/filesystem/ops-common.h [FILESYSTEM_IS_WINDOWS]
	(chmod, mkdir, getcwd, chdir): Define new macros.
	[FILESYSTEM_IS_WINDOWS] (chmod, mkdir, getcwd, chdir): Use
	new macros.
	* src/filesystem/ops.cc (create_dir): Use USE_MKDIR macro.
	(fs::current_path): Use USE_GETCWD and USE_CHDIR macros.
	(fs::permissions): Use USE_CHMOD macro.
2023-09-07 17:03:40 +01:00
2023-06-23 00:16:38 +00:00
2023-08-12 00:17:36 +00:00
2023-08-18 00:16:52 +00:00
2023-04-26 00:17:46 +00:00
2022-08-31 00:16:45 +00:00
2023-08-23 00:17:59 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-12 00:17:36 +00:00
2023-06-16 00:17:18 +00:00
2023-09-07 00:17:36 +00:00
2023-06-16 00:17:18 +00:00
2023-08-24 00:18:18 +00:00
2023-09-07 00:17:36 +00:00
2023-08-08 00:17:37 +00:00
2023-08-13 00:16:46 +00:00
2023-08-23 00:17:59 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-21 00:17:21 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-08-08 00:17:37 +00:00
2023-07-08 00:16:53 +00:00
2023-08-08 00:17:37 +00:00
2023-09-05 13:34:14 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%