Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile a .cpp file into a Windows executable (.exe) file in Linux

I make this program in C++ using Code::Blocks on Ubuntu. I need to turn it into a Windows executable binary (.exe file), but I don't know how to do this. Is it possible?

like image 767
user69514 Avatar asked Jan 24 '26 03:01

user69514


1 Answers

If you meant, compiling an executable for Windows on Linux you might find some pointers on how to do that here.

like image 134
Felix Avatar answered Jan 25 '26 16:01

Felix



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!