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

--- Comment #3 from Peter Damianov <peter0x44 at disroot dot org> ---
Ugh. Unfortunately, this is abuse.

$ x86_64-w64-mingw32-windres test.rc -o test.o
$ file test.res
test.res: Microsoft Visual C binary resource file
$ file test.o
test.o: x86-64 COFF object file, no line number info, not stripped, 1 section,
symbol offset=0xde, 1 symbols, 1st section name ".rsrc"

As you can see, windres creates a different file format (I believe this is used
to link in visual studio or something) if I don't override it manually.

I didn't think anyone would be relying on it. Perhaps the .res part of the spec
simply ought to be commented out for now. I doubt anyone really needs it.

Reply via email to