cgsecurity / testdisk

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

cross compile windows application #141

Closed qiankl closed 10 months ago

qiankl commented 10 months 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 10 months 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 10 months ago

Great. Thanks a lot!