0

Hello
I was always wondering whats the difference between compiling in these different environment Linux and Windows ! and
Why can’t we just run the same executable file (compiled in Linux) both on Windows 7 and Ubuntu?


also I

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by ravenrider
0

The executable files in these systems are different. They follow the conventions of the OS. That is why they are not interchangable.

0

Why can’t we just run the same executable file (compiled in Linux) both on Windows 7 and Ubuntu?

Have you ever heard of wine? That should do trick to run windows exe in linux :)

0

Have you ever heard of wine? That should do trick to run windows exe in linux :)

Did I misunderstand his question?

0

thanks for responding ...I know you can run softwares using Wine, I just want to know why when you compile code on linux sometimes it wont work on windows ! exe file especially !
thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.