From: Peter Damianov Date: Fri, 19 Dec 2025 07:52:13 +0000 (+0100) Subject: Add windres to TOOL_PROGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb80c91f5a6940ae3871fb4cd1988b2803286202;p=thirdparty%2Fbinutils-gdb.git Add windres to TOOL_PROGS I sent a patch to GCC adding support for passing .rc and .res files to the driver directly, allowing support for doing things like: gcc file.c file.rc -o file.exe However, binutils doesn't install windres into the tooldir, so by default, gcc will be unable to find windres. This patch adds windres to TOOL_PROGS so this can work. binutils/ChangeLog: * Makefile.am (TOOL_PROGS): Add windres. * Makefile.in: Regenerate. Signed-off-by: Peter Damianov --- diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 1528302ea61..4be0971b3d2 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -110,7 +110,7 @@ noinst_PROGRAMS = $(RENAMED_PROGS) $(TEST_PROGS) @BUILD_MISC@ EXTRA_PROGRAMS = srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(WINDMC_PROG) $(DLLWRAP_PROG) # Stuff that goes in tooldir/ if appropriate. -TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy readelf +TOOL_PROGS = nm-new strip-new ar ranlib dlltool windres objdump objcopy readelf BASEDIR = $(srcdir)/.. BFDDIR = $(BASEDIR)/bfd diff --git a/binutils/Makefile.in b/binutils/Makefile.in index a374e805576..471b9f310dc 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -696,7 +696,7 @@ TEST_PROGS = $(BFDTEST1_PROG) $(BFDTEST2_PROG) $(GENTESTDLLS_PROG) RENAMED_PROGS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG) # Stuff that goes in tooldir/ if appropriate. -TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy readelf +TOOL_PROGS = nm-new strip-new ar ranlib dlltool windres objdump objcopy readelf BASEDIR = $(srcdir)/.. BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include