Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Define CMAKE_RC_COMPILER
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Summary: Define CMAKE_RC_COMPILER Product: Fedora Version: 14 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: medium Priority: low Component: mingw32-filesystem AssignedTo: rjones@redhat.com ReportedBy: orion@cora.nwra.com QAContact: extras-qa@fedoraproject.org CC: rjones@redhat.com, kalev@smartlink.ee, erik-fedora@vanpienbroek.nl, fedora-mingw@lists.fedoraproject.org, drizt@land.ru Classification: Fedora
Description of problem:
Please add:
SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-mingw32-windres)
to /usr/share/mingw32/Toolchain-mingw32.cmake
Version-Release number of selected component (if applicable): mingw32-filesystem-62-2.fc14.noarch
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Erik van Pienbroek erik-fedora@vanpienbroek.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from Erik van Pienbroek erik-fedora@vanpienbroek.nl 2010-11-11 17:37:52 EST --- Looks good enough to me, will push it to f14 and rawhide
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
--- Comment #2 from Fedora Update System updates@fedoraproject.org 2010-11-11 17:48:10 EST --- mingw32-filesystem-63-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mingw32-filesystem-63-1.fc14
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #3 from Fedora Update System updates@fedoraproject.org 2010-11-13 17:04:14 EST --- mingw32-filesystem-63-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mingw32-filesystem'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/mingw32-filesystem-63-1.fc14
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
--- Comment #4 from Fedora Update System updates@fedoraproject.org 2010-11-21 16:55:48 EST --- mingw32-filesystem-63-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |mingw32-filesystem-63-1.fc1 | |4 Resolution| |ERRATA Last Closed| |2010-11-21 16:55:54
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
Laurent Rineau laurent.rineau__fedora@normalesup.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |laurent.rineau__fedora@norm | |alesup.org
--- Comment #5 from Laurent Rineau laurent.rineau__fedora@normalesup.org 2011-10-28 10:34:18 EDT --- With the commited patch, Orion did you manage to use the RC compiler properly?
After the CMake configuration is done successfully, I have errors like:
/usr/bin/i686-pc-mingw32-windres: can't open `/foCMakeFiles/CGAL.dir/CGAL_verinfo.rc.res' for input
because CMake tries the option /fo (the syntax of Microsoft rc.exe) instead of the option -o (syntax of windres).
And I add also to add the option "-O coff" so that the linker agrees to link with the generated file.
So my patch is:
diff --git a/Toolchain-mingw32.cmake b/Toolchain-mingw32.cmake index 66ef563..f965ce5 100644 --- a/Toolchain-mingw32.cmake +++ b/Toolchain-mingw32.cmake @@ -20,6 +20,8 @@ SET(QT_LIBRARY_DIR ${CMAKE_FIND_ROOT_PATH}/lib)
# set the resource compiler (RHBZ #652435) SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-mingw32-windres) +SET(CMAKE_RC_COMPILE_OBJECT + "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -O coff -o <OBJECT> <SOURCE>")
# override boost library suffix which defaults to -mgw SET(Boost_COMPILER -gcc46)
My packages are: mingw32-filesystem-64-2.fc14.noarch cmake-2.8.4-1.fc14.x86_64
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
--- Comment #6 from Orion Poplawski orion@cora.nwra.com 2011-10-28 10:50:40 EDT --- I think it worked for me at the time. Was a one shot deal for me.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
--- Comment #7 from Laurent Rineau laurent.rineau__fedora@normalesup.org 2011-10-28 10:59:04 EDT --- Should I open a new bug or reopen that one?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=652435
--- Comment #8 from Orion Poplawski orion@cora.nwra.com 2011-10-28 11:04:05 EDT --- I would open a new one.