[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-24 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #9 from Pali Rohár --- (In reply to peter0x44 from comment #7) > 5) windres --help has this list of "supported targets": > x86_64-w64-mingw32-windres: supported targets: pe-x86-64 pei-x86-64 > pe-bigobj-x86-64 elf64-x86-64 pe-i386 pe

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-15 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #8 from Pali Rohár --- Thank you for input, as you already figured out there is lot of work for this. And I think I'm not skilled enough to implement everything properly, so I would have to let this to gcc developers. I will answer q

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-15 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 peter0x44 at disroot dot org changed: What|Removed |Added CC||peter0x44 at disroot dot o

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #6 from Andrew Pinski --- (In reply to Pali Rohár from comment #5) > There is one problem with it. I had to "hardcode" x86_64-w64-mingw32-windres > name instead of just "windres". How to declare cross compile prefix? Because > gcc so

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-14 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #5 from Pali Rohár --- Thank you for info, I read that blog post and based on those details I adjusted spec file $ x86_64-w64-mingw32-gcc -dumpspecs > test.spec by adding additional lines to test.spec: .rc: x86_64-w64-mingw32-wind

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-14 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2024-03-13 Thread pali at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #2 from Pali Rohár --- Andrew, I do not know what is gcc driver nor what to do for it. But if you can show me some pointers, I can try it. Or if you need more details about files, usage, etc... please let me know.

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2023-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2023-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #1 from Andrew Pinsk