Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: regtable69 on May 20, 2014, 06:19:31 AM



Title: building win32 windows binary .exe file in ubuntu/linux.
Post by: regtable69 on May 20, 2014, 06:19:31 AM
i have spent hours trolling google and various other sites to try and get a linuc source built into a windows qt file. i have tried around 6 different ways from mingw to qt creator in linux and windows and none seem to work. can anyone suggest a good tutorial for this???

iv got a feeling this should work and i must be doing something wrong

http://stackoverflow.com/questions/14170590/building-qt-5-on-linux-for-windows/14170591#14170591


Title: Re: building win32 windows binary .exe file in ubuntu/linux.
Post by: somic on May 25, 2014, 09:31:32 AM
why not use a windows virtual machine


Title: Re: building win32 windows binary .exe file in ubuntu/linux.
Post by: piotr_n on May 25, 2014, 10:00:06 AM
if you don't want to use gitian, you'd need to rev engineer how gitian does it and then do the same:
from what I see, it uses "mingw-w64" and "g++-mingw-w64"

https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/deps-win.yml
https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/boost-win.yml
https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/qt-win.yml
https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-descriptors/gitian-win.yml