https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123504

--- Comment #11 from Bruno Haible <bruno at clisp dot org> ---
Maybe GCC should limit the Windows resource file handling to files with suffix
.rc, and let files with suffix .res alone?

I understand from "man 1 windres" that .rc files are source files (written by
developers or generated by ad-hoc development tools); being able to pass them
directly to GCC is a valuable improvement, because it saves developers from
writing an explicit Makefile rule. This is what PR108866 was initially about.

I understand from "man 1 windres" also that the 'res' format is a binary format
generated by windres. So, when this file format is used, there are actually two
windres invocation: one by the package's Makefile, to produce a .res file, and
a second one by the GCC driver, to convert that file to COFF format. What is
the point of this workflow? Who uses that? Who _needs_ GCC to handle such
files?

Reply via email to