cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.68k stars 205 forks source link

cross compile windows application #141

Closed qiankl closed 1 year ago

qiankl commented 1 year ago

I am trying to compile windows applications but encountered with some difficulties.

I see some information from the document that it could be cross compiled on Fedora and offerred some tools. I have prepared all the environment in docker container, but I don't know how to use. Could you please show me some instructions? Thanks!

cgsecurity commented 1 year ago

Here are the RPM spec files use to compile TestDisk & PhotoRec for Windows https://github.com/cgsecurity/testdisk/blob/master/cygwin-testdisk-copr.spec https://github.com/cgsecurity/testdisk/blob/master/mingw-testdisk-copr.spec

Some dependencies can be found already compiled at https://copr.fedorainfracloud.org/coprs/grenier/cygwin-testdisk/packages/ https://copr.fedorainfracloud.org/coprs/grenier/mingw-testdisk/packages/

qiankl commented 1 year ago

Great. Thanks a lot!