Go to file
H.J. Lu 9c7797a8c2
GCC: Check if AR works with --plugin and rc
AR from older binutils doesn't work with --plugin and rc:

[hjl@gnu-cfl-2 bin]$ touch foo.c
[hjl@gnu-cfl-2 bin]$ ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
[hjl@gnu-cfl-2 bin]$ ./ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
./ar: no operation specified
[hjl@gnu-cfl-2 bin]$ ./ar --version
GNU ar (Linux/GNU Binutils) 2.29.51.0.1.20180112
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
[hjl@gnu-cfl-2 bin]$

Check if AR works with --plugin and rc before passing --plugin to AR and
RANLIB.

ChangeLog:

	* configure: Regenerated.
	* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with
	--plugin and rc before enabling --plugin.

config/ChangeLog:

	* gcc-plugin.m4 (GCC_PLUGIN_OPTION): Check if AR works with
	--plugin and rc before enabling --plugin.

gcc/ChangeLog:

	* configure: Regenerate.

libatomic/ChangeLog:

	* configure: Regenerate.

libbacktrace/ChangeLog:

	* configure: Regenerate.

libcc1/ChangeLog:

	* configure: Regenerate.

libffi/ChangeLog:

	* configure: Regenerate.

libgfortran/ChangeLog:

	* configure: Regenerate.

libgm2/ChangeLog:

	* configure: Regenerate.

libgomp/ChangeLog:

	* configure: Regenerate.

libiberty/ChangeLog:

	* configure: Regenerate.

libitm/ChangeLog:

	* configure: Regenerate.

libobjc/ChangeLog:

	* configure: Regenerate.

libphobos/ChangeLog:

	* configure: Regenerate.

libquadmath/ChangeLog:

	* configure: Regenerate.

libsanitizer/ChangeLog:

	* configure: Regenerate.

libssp/ChangeLog:

	* configure: Regenerate.

libstdc++-v3/ChangeLog:

	* configure: Regenerate.

libvtv/ChangeLog:

	* configure: Regenerate.

lto-plugin/ChangeLog:

	* configure: Regenerate.

zlib/ChangeLog:

	* configure: Regenerate.
2023-08-07 22:59:37 +02:00
c++tools Daily bump. 2023-06-23 00:16:38 +00:00
config GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
contrib Daily bump. 2023-07-14 00:16:43 +00:00
fixincludes Daily bump. 2023-06-16 00:17:18 +00:00
gcc GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
gnattools Daily bump. 2023-04-26 00:17:46 +00:00
gotools Daily bump. 2022-08-31 00:16:45 +00:00
include gcc-4.5 build fixes 2023-08-07 22:59:36 +02:00
INSTALL
intl Daily bump. 2023-06-16 00:17:18 +00:00
libada Update copyright years. 2023-01-16 11:52:17 +01:00
libatomic GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libbacktrace GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libcc1 GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libcody Daily bump. 2023-06-16 00:17:18 +00:00
libcpp Daily bump. 2023-07-20 00:17:53 +00:00
libdecnumber Daily bump. 2023-06-16 00:17:18 +00:00
libffi GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libgcc Daily bump. 2023-07-24 00:16:51 +00:00
libgfortran GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libgm2 GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libgo cmd/go: don't collect package CGOLDFLAGS when using gccgo 2023-07-20 12:29:11 -07:00
libgomp GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libiberty GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libitm GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libobjc GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libphobos GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libquadmath GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libsanitizer GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libssp GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libstdc++-v3 GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
libvtv GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
lto-plugin GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
maintainer-scripts Daily bump. 2023-07-08 00:16:53 +00:00
zlib GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2023-08-03 00:17:10 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
configure.ac Sync with binutils: GCC: Pass --plugin to AR and RANLIB 2023-08-07 22:59:36 +02:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Add myself as a BPF port reviewer 2023-08-07 10:26:38 -07:00
Makefile.def configure, Darwin: Ensure overrides to host-pie are passed to gcc configure. 2023-06-25 10:16:39 +01:00
Makefile.in Sync with binutils: GCC: Pass --plugin to AR and RANLIB 2023-08-07 22:59:36 +02:00
Makefile.tpl Sync with binutils: GCC: Pass --plugin to AR and RANLIB 2023-08-07 22:59:36 +02:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

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.