Skip to content

Commit

Permalink
Update readme for integrating version.rc into mingw build (#10)
Browse files Browse the repository at this point in the history
We have to run windres first to produce a consumable file for gcc.
  • Loading branch information
ismail authored and taviso committed Dec 30, 2016
1 parent 70b31d3 commit cb75dfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ If you don't have cl or nmake, they come with Visual Studio (or the Windows SDK,

Additionally, it is possible to build hotcorner on Linux using MinGW.

`$ x86_64-w64-mingw32-gcc -O2 hotcorner.c -o hotcorner.exe -Wl,-subsystem,windows`
`$ x86_64-w64-mingw32-windres version.rc -O coff -o version.res`
`$ x86_64-w64-mingw32-gcc -O2 hotcorner.c version.res -o hotcorner.exe -Wl,-subsystem,windows`


### Configuration
Expand Down

0 comments on commit cb75dfc

Please sign in to comment.